Quiz plugin #5163
-
Hi there, I am looking for some mkdocs plugin that I could use to add quizzes to my documentation page. Is there such a thing? I would like to add a question with a few answer options, only one of which is correct. The user would check the answer they think is correct, and if it 's the correct one, the will see a checkmark, if it's not correct they will see a red cross or something like that. If no such plugin exist, perhaps this post should be moved from Q&A to Ideas. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I don't think there's currently such a plugin. You could consult the MkDocs Plugins Wiki or create one yourself! |
Beta Was this translation helpful? Give feedback.
-
For @msoutopico and all interested in this question, I found the mkdocs-quiz plugin that does exactly what was asked for, add quizzes to the documentation pages. Here you have a really nice implementation of the plugin. The content of the page is in Portuguese, but I think it's enough to grasp the plugin's potential. Here, the GitHub repo for this project. It basically:
<?quiz?>
question: Are you ready?
answer-correct: Yes!
answer: No!
answer: Maybe!
content:
<h2>Provide some additional content</h2>
<?/quiz?> The project also better formatted the quiz structure, if you're interested in taking yours to the next level. Enjoy! Footnotes
|
Beta Was this translation helpful? Give feedback.
I don't think there's currently such a plugin. You could consult the MkDocs Plugins Wiki or create one yourself!