03 Markdown reference
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 42is a correct answer (x inside ),
This renders as:
Test your playground
Once you have made all your local modifications, push them and test your playground.
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.