[!WARNING]
- Regularly backup your data by exporting your modules and bookmarked questions!
- Clearing the browser cache (e.g. before an exam) will result in the loss of your data!
- Some UI elements are currently not working (e.g. module progress)!
Add Module
in the Module Overview
Create new Module
ID
: The ID of the module has to be unique!Name
: The full name of the new module.Language
: The language is used for spellchecking when creating a question.Compatibility Version
: This value describes when the module was created. The user can't change this value.Create
Module Overview
and can be viewed by clicking on View >
Add Module
in the Module Overview
Browse files
and select the file(s) your-file.json
or drag and drop
the file(s) into the dotted areaAdd
Module Overview
and can be viewed by clicking on View >
[!WARNING]
If the module already exist in your modules it will be completely overwritten with the imported module!
Module Overview
click on the 3 dots (⋮
) in the module you want to exportExport
Module Overview
click on the 3 dots (⋮
) in the module you want to deleteDelete
You can practice your questions in chronological (default) or random order.
There is also the option to just train with bookmarked questions.
The questions are in order that they were created in.
The order of the questions is random but each question will only be shown once.
To practice with the questions you bookmarked navigate to the module and click the Start >
button inside Bookmarked Questions
.
The questions are in the order that they were saved in. Read how to bookmark a question.
Add Question
and click on Add >
.Add
or Add + View
Update
[!NOTE]
On mobile you may have to first extend the bottom of the navigation
Field | Description | Styleable? | Required? |
---|---|---|---|
id |
The unique id of the questions | :x: | :heavy_check_mark: |
title |
The title of the question | :heavy_check_mark: | :x: |
points |
Max point value of a question | :x: | :x: |
type |
The type of the question | :x: | :heavy_check_mark: |
help |
Explain what the user needs to do | :heavy_check_mark: | :x: |
answerOptions |
The interactive part of the question | :heavy_check_mark: | :heavy_check_mark: |
Multiple-Choice questions have exactly one correct answer and are characterized by a circle in front of each option.
Example:
You can add and edit this type of question through the normal UI.
Multiple-Response questions can have multiple correct answers and are characterized by a square in front of each option.
Example:
You can add and edit this type of question through the normal UI.
Gap Text questions require the user to fill in the missing words. In the editor a gap is created by wrapping the correct word(s) inside square brackets and separating multiple correct words with a semicolon like this: [correct; right].
Example:
You can add and edit this type of question through the normal UI.
The question type Gap Text Dropdown requires the user to select the correct answer for a gap from a dropdown list. A gap is created by a square bracket.
Example:
You can not add this type of question through the normal UI. Download the module and edit the raw .json file!
.json: ```json { "id": "qID-4", "title": "This is a question of the type gap text with preselected values for each gap. Each gap is rated independently, meaning that part points are possible. Choose the correct values for each gap in the following text.", "points": 5, "type": "gap-text-dropdown", "help": "Fill in the blanks with the **correct** Values!", "answerOptions": { "text": "Possible values for each gap can be selected from a []-list. If the user answers 50% of the gaps correctly, he will be awarded [] of the points.", "dropdowns": [ { "id": "select-0", "options": [ "Dropdown", "Pickup", "empty" ], "correct": "Dropdown" }, { "id": "select-1", "options": [ "0%", "25%", "50%", "75%", "100%" ], "correct": "50%" } ] } } ``` **_[Result](https://repeatio.netlify.app/module/types_1/question/qID-4?mode=practice&order=chronological)_**Connect the dots with the extended-match question type.
Example:
You can add and edit this type of question through the normal UI.
Repeatio supports styling with Markdown
and HTML
for the following elements: title, help and answerOptions.
Try to always style these elements with Markdown first and only use HTML if markdown doesn't have the desired effect.
This is for example the case if you want to use css, escape the default styling or have multiple line breaks.
Line breaks in markdown can be archived by hitting the enter
key.
Type | Markdown | HTML | Result |
---|---|---|---|
Single line break | Top Text New line |
Top Text <br /> New line |
Top Text New line |
Multiple line break | Text broken [1]into multiple lines |
Text broken <br /><br /> into multiple lines |
Text broken into multiple lines |
[1]: Notice how there are two blank spaces!
Type | Markdown | HTML | Result |
---|---|---|---|
strong | **text** |
<b>text</b> |
text |
italic | *text* or _text_ |
<i>text</i> |
text |
strong and italic | ***text*** |
<b><i>text</i></b> |
text |
strikethrough | ~~text~~ |
<s>text</s> |
|
code | `text` |
<code>text</code> |
text |
underline | <u>text</u> |
text |
Input | Result |
---|---|
```markdown This \*text is unaffected\* by markdown ``` |
This *text is unaffected* by markdown |
You can use unordered and ordered lists.
Type | Markdown | HTML | Result |
---|---|---|---|
Unordered List | ```markdown some text... - First unordered item - Another item - Last item Text outside list ``` |
```html
some text...
|
some text...
Text outside list |
Ordered List | ```markdown some text... 1. First ordered item 2. Another item 3. Last item Text outside list ``` |
```html
some text...
|
some text...
Text outside list |
*
), minuses (-
) or pluses (+
).
Markdown | HTML | Result | ||||||
---|---|---|---|---|---|---|---|---|
```markdown some text | Heading 1 | Heading 2 | | --------- | :-------: | | Item 1 | Item 2 | | Item 3 | Item 4 | Text outside table ``` |
```html
some text...
|
some text | Heading 1 | Heading 2 | | --------- | :-------: | | Item 1 | Item 2 | | Item 3 | Item 4 | Text outside table |
Display images by adding !
, wrapping the alt text inside []
and then wrapping the link for the image in parentheses ()
.
Markdown | HTML | Result |
---|---|---|
```markdown ![md](https://upload.wikimedia.org/wikipedia/commons/d/d9/Markdown.png) ``` | ```html ``` |
Input | Result |
---|---|
```markdown
This text is unaffected
I am blue ``` |
Input | Result |
---|---|
```markdown $x =\frac{\sqrt{20}}{3\times(5-10)^2}$ ``` | $x =\frac{\sqrt{20}}{3\times(5-10)^2}$ |
To delete a question click on the trash icon.
[!WARNING]
There is no undo functionality and no confirm dialog. The question will be deleted immediately!
Bookmark a question to later only train with them.
Start >
inside Bookmarked Questions
If you want to view your bookmarked questions on a different device or browser you need to export them.
⋮
) inside Bookmarked Questions
Export
If you want to view your bookmarked questions on a different device or browser you need to export them.
⋮
) inside Bookmarked Questions
Import
Use these steps to reset your bookmarked questions.
⋮
) inside Bookmarked Questions
Delete
Some question types and features can't yet be used through the UI. Instead users are required to edit the raw JSON file.
Some general tips:
"text"
) use unicode U+201E/U+201C instead („text“
) or escape the string like this \"text\"
These scripts are only for developers.
We use Cypress and Jest (in combination with React testing library) for testing. Cypress is used for e2e and component testing while Jest only supports component testing. Please you Cypress instead of Jest if you know how to use it.
**Cypress (with UI):** ```bash yarn test:cy ``` ```bash yarn cypress open ``` **Cypress (headless):** ```bash yarn cypress run --browser chrome ``` ```bash yarn cypress run --browser chrome --component ``` ```bash yarn cypress run --browser chrome && yarn cypress run --browser chrome --component ``` **Jest:** ```bash yarn test ``` ```bash yarn test --watchAll ```