bonartm / quizdown-js

Markdown syntax for generating interactive quizzes in the browser
https://bonartm.github.io/quizdown-live-editor/
MIT License
88 stars 24 forks source link

Option to define the displayed number of questions #16

Closed pintergreg closed 2 years ago

pintergreg commented 2 years ago

I'd like to define n questions (e.g. 20), enable the question shuffling, then with this option I could restrict the displayed question to k (e.g. 10). This would result that a user would get 10 random questions, from the pool, at every page load.

bonartm commented 2 years ago

Thanks for the suggestion. I have added a config option nQuestions. It will be included in the next release.