<commit_before># quiz-text

[![CircleCI](https://circleci.com/gh/yoshokatana/quiz-text.svg?style=svg)](https://circleci.com/gh/yoshokatana/quiz-text)

💡Quick and easy markup for quizzes!

# Install

```
npm install --save quiz-text
```

# Usage

Loosely based on [Petr Trofimov's Quiztext](https://github.com/ptrofimov/quiztext), this is a library that allows you to write quizzes using a markdown-like syntax which gets parsed into JSON. It supports radio (one selection), checkbox (multi select), and range (one selection, with syntactical sugar) questions, and looks like this:

```
Question 1: Why would I use this?
( ) You want to easily write quizzes that can be parsed into JavaScript<commit_msg>update circle badge<commit_after># quiz-text

[![CircleCI](https://circleci.com/gh/nelsonpecora/quiz-text.svg?style=svg)](https://circleci.com/gh/nelsonpecora/quiz-text)

💡Quick and easy markup for quizzes!

# Install

```
npm install --save quiz-text
```

# Usage

Loosely based on [Petr Trofimov's Quiztext](https://github.com/ptrofimov/quiztext), this is a library that allows you to write quizzes using a markdown-like syntax which gets parsed into JSON. It supports radio (one selection), checkbox (multi select), and range (one selection, with syntactical sugar) questions, and looks like this:

```
Question 1: Why would I use this?
( ) You want to easily write quizzes that can be parsed into JavaScript
{'fraction_non_alphanumeric': 0.11032531824611033, 'fraction_numerical': 0.0014144271570014145, 'mean_word_length': 4.920502092050209, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1929019', 'n_tokens_mistral': 470, 'n_tokens_neox': 444, 'n_words': 159}