Markdown
Prefer typing in plain text? Write your whole quiz in a Markdown or text file using the simple markers below, then convert it with QTIForge. This guide covers every question type and formatting rule.
Getting Started
- Download the .md template or start a fresh .md file
- Write your questions following the rules below
- Upload to QTIForge
File Format
Every file must start with a quiz title, followed by questions. Each question requires a point value immediately before it.
Quiz title: Canada Quiz Points: 1 1. What is Canada's official national animal? ... General question feedback. + Feedback for correct answer. - Feedback for incorrect answer. a) Canada Jay ... Feedback for this particular answer. b) Orca ... Feedback for this particular answer. *c) Beaver ... Feedback for this particular answer. d) Grizzly Bear ... Feedback for this particular answer. (any additional questions)
Question Format
Multiple Choice / True or False
One correct answer from the provided options.
- Options start with a letter and closing parenthesis:
a) option - Mark the correct option with an asterisk:
*c) correct answer
Points: 1 1. The capital of Canada is Ottawa. *a) True b) False Points: 2 2. What is Canada's official national animal? a) Canada Jay *b) Beaver c) Orca d) Grizzly Bear
Multiple Answer
More than one correct answer from the provided options.
- Options use square brackets with a space:
[ ] option - Mark correct options with an asterisk inside the brackets:
[*] correct answer
Points: 1 1. Which of the following bears are omnivores? [ ] Polar Bear [*] Black Bear [ ] Giant Panda [*] Grizzly Bear
Numerical
Fill-in-the-blank for numerical answers. Use = followed by the correct answer. Supports three formats:
- Single number:
= 30 - Range:
= [27, 33] - Tolerance:
= 30+-3or= 30+-10%
Points: 1 1. What is 2+2? = 4 Points: 1 2. How many teeth does a domestic cat have? = [26,30] Points: 1 3. What is the total length of the Nile River in kilometers? = 6650+-5% Points: 1 4. How many steps are in the Eiffel Tower? = 1665+-5
Short Answer
Fill-in-the-blank with one or more accepted text answers.
- Use
*followed by an accepted answer - Each accepted answer goes on its own line
Points: 1 1. What is the largest organ of the human body? * skin Points: 1 2. What is the name for a round, fried dough confectionery that often has a hole in the center? * donut * doughnut
Essay
Long-form response in Canvas's rich text editor. No auto-grading. Use four underscores ____.
Points: 1 1. Write a sentence using the word ephemeral. ____
File Upload
Student submits a file of any type. Use four carets ^^^^.
Points: 1 1. Upload a picture of your notes. ^^^^
Feedback (Optional)
...) only, not Correct (+) or Incorrect (-) feedback. General feedback must come on the line right after the question text.- Question Feedback: always shown after submission
- Correct Feedback: shown only if correct
- Incorrect Feedback: shown only if incorrect
- Answer-specific Feedback: shown only if the student selects that option
General Question Feedback
... General question feedback
Correct Feedback
+ Great job!
Incorrect Feedback
- Try again.
Answer-specific Feedback
a) Red ... Feedback shown only if this option is selected
Formatting Tokens
| Item | Token | Example |
|---|---|---|
| Question | 1. | 1. What is the capital of Canada? |
| Multiple Choice Option | a) | a) Vancouver |
| Correct Multiple Choice Option | *a) | *a) Ottawa |
| Multiple Answer Option | [ ] | [ ] Black Bear |
| Correct Multiple Answer Option | [*] | [*] Grizzly Bear |
| Numerical Answer | = | = 5 |
| Short Answer | * | * Peregrine Falcon |
| Essay | ____ | ____ |
| File Upload | ^^^^ | ^^^^ |
| General Feedback | ... | ... think about it |
| Correct Feedback | + | + Great Job! |
| Incorrect Feedback | - | - Try Again. |
Indentation Rules
- All question numbers, point values, and answer tokens must start at the same column
- All question text and answer text must start at the same column
- If text spans multiple lines, continuation lines must match the indentation of the line above
Points: 2 | | 1. What is Canada's | official national animal? | | a) Canada | Jay | | *b) Beaver | | c) Orca | | d) Grizzly Bear
The | markers above illustrate the two indentation columns. They are not part of the actual file format.
Common Formatting Mistakes
Leading Space
A space before the answer token stops QTIForge from reading the line as an answer.
Points: 1 1. What is the largest organ of the human body? * skin ← extra space before *
* starts at the beginning of the line.Missing Answer
Every Multiple Choice and Multiple Answer question must have at least one option marked as correct. Forgetting the asterisk will cause a conversion error.
Points: 1 1. The capital of Canada is Ottawa. a) True ← no asterisk, no correct answer marked b) False
* before the correct option, like *a) True.Asterisk Position
The asterisk must come before the letter, not after it.
Points: 1 1. The capital of Canada is Ottawa. a)* True ← asterisk is in the wrong position b) False
*a) True.Duplicate Answer Choices
No two options in the same question can have identical text.
1. What is 2+2? *a) 4 b) 4 ← duplicate of option a
Incorrect Answer Formatting
Numerical answers must follow the exact format. Missing brackets or symbols will cause a parsing error.
Points: 1 2. How many teeth does a domestic cat have? = [26,30 ← missing closing bracket
[26,30].Correct or Incorrect Feedback on Essay and File Upload
Essay and File Upload questions are graded by hand, so they have no correct or incorrect answer. Adding + or - feedback to them causes a conversion error.
Points: 1 1. Write a sentence using the word ephemeral. ____ + Great job! ← correct feedback not supported on Essay
+ or - to ... general feedback, placed right after the question text.