undefined

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

How to add a Quiz

A quiz is described using the following syntax in your markdown:

?[What is the answer to Life, the Universe and Everything?]
-[ ] There is no answer to that!
-[ ] Sleep and eat
-[x] Easy, this is 42
-[ ] Peace & Love

The snippet above is interpreted by the platform as a Quiz.

  • ?[What is the answer to Life, the Universe and Everything?] is the first line of your quiz and allow you to ask a question to the user.
  • -[ ] There is no answer to that! is one of the possible answers but it's invalid (no x inside the []).
  • -[x] Easy, this is 42 is a correct answer (x inside []),

This renders as:

What is the answer to Life, the Universe and Everything?

You can learn more about quizzes here and more about the answer to life here.

Test your playground

Once you have made all your local modifications, push them and test your playground.

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content