Learn Quiz

Markdown Quiz

Test your Markdown syntax knowledge. — 7 questions

Question 1 of 7 Score: 0

About the Markdown Quiz

Test your Markdown syntax knowledge. This quiz has 7 multiple-choice questions. Each question has one correct answer, and you see an explanation straight after you answer, so you learn from every question — including the ones you get wrong. There is no time limit and nothing to sign up for; your answers are not stored.

The questions follow the material in the Markdown Basics guide and the Markdown Syntax cheatsheet. Read them first if you want to prepare, or take the quiz cold to find the gaps in what you know.

Questions in this quiz

Preview the questions below. Each answer and its explanation are hidden until you choose to reveal them, so you can still take the quiz above without spoilers.

1. What character is used to create a heading in Markdown?

  1. !
  2. @
  3. #
  4. *
Show answer

Answer: C. #
# creates H1, ## creates H2, continuing up to ###### for H6. The number of # symbols determines the level.

2. Which syntax makes text bold?

  1. **text** or __text__
  2. //text//
  3. !!text!!
  4. {{text}}
Show answer

Answer: A. **text** or __text__
Both **text** and __text__ render as bold. Most style guides prefer ** for consistency.

3. How do you create an ordered list?

  1. Start each item with -
  2. Start each item with *
  3. Start each line with a number and a period
  4. Indent each item with a tab
Show answer

Answer: C. Start each line with a number and a period
1. First 2. Second creates a numbered list. The actual numbers written do not have to be sequential — most renderers recount them automatically.

4. What syntax creates a fenced code block?

  1. Indent the block with 4 spaces
  2. Wrap the code in triple backticks (```)
  3. Wrap the code in triple tildes (~~~) only
  4. Either triple backticks or triple tildes are valid
Show answer

Answer: D. Either triple backticks or triple tildes are valid
Both ``` and ~~~ are valid fence delimiters in CommonMark. You can also indent by 4 spaces to create a code block without a fence.

5. What do two trailing spaces at the end of a Markdown line do?

  1. Start a new paragraph
  2. Create a horizontal rule
  3. Insert a line break (<br>) without starting a new paragraph
  4. They are always ignored
Show answer

Answer: C. Insert a line break (<br>) without starting a new paragraph
Two spaces then Enter inserts a <br> tag. A single Enter is typically rendered as a space or ignored, not a paragraph break.

6. Which syntax inserts a hyperlink?

  1. (Link text)[url]
  2. [Link text](url)
  3. <a href=url>Link text</a> only
  4. {Link text: url}
Show answer

Answer: B. [Link text](url)
[text](url) is the inline link syntax. Reference-style links [text][ref] with [ref]: url defined elsewhere are also valid.

7. How do you create a blockquote?

  1. Start the line with >>
  2. Start the line with >
  3. Wrap the text in >> ... <<
  4. Indent with 2 spaces
Show answer

Answer: B. Start the line with >
Each line of a blockquote starts with > and a space. Nested blockquotes use >>.

How to use this quiz

  • Answer every question before reading the explanations below — retrieving an answer from memory is what makes it stick.
  • Note the questions you missed and revisit the matching section of the guide or cheatsheet.
  • Retake the quiz a day or two later. Spaced repetition is one of the most reliable ways to remember technical details.

Related