Convert your Markdown files into interactive quizzes
The Markdown Quiz Generator is a powerful tool that allows you to create interactive quizzes from simple Markdown files. This means you can leverage all the formatting capabilities of Markdown - including structured text, bold, italic, tables, and more - to create engaging quiz experiences.
The process is straightforward:
- Create a quiz in Markdown format
- Run the generator
- Get an interactive HTML quiz ready to share or embed
Below is an example of a generated quiz. You can interact with it directly:
[filename](generated-quizzes/sample-quiz.html ':include height=800px')
- Markdown Support: Use all standard Markdown syntax for rich text formatting
- Multiple Question Types: Support for multiple choice, true/false, and other question formats
- Interactive UI: Engaging user interface with immediate feedback
- Customizable: Easy to adapt to your specific needs
- Embeddable: Include quizzes in websites, learning management systems, or documents
- Node.js installed on your system
- Basic knowledge of Markdown syntax
# Clone the repository
git clone https://github.com/osandadeshan/markdown-quiz-generator.git
# Navigate to the project directory
cd markdown-quiz-generator
# Install dependencies
npm install
- Create a new Markdown file with your quiz content
- Follow the format shown in the example above
- Run the generator:
npm run generate -- path/to/your/quiz.md
- Find your generated quiz in the
generated-quizzes
folder
Your quiz Markdown file should follow this general structure:
# Quiz Title
## Question 1
What is the capital of France?
- [ ] London
- [x] Paris
- [ ] Berlin
- [ ] Madrid
## Question 2
True or False: The Earth is flat.
- [ ] True
- [x] False
Contributions are welcome! If you have ideas to improve the Markdown Quiz Generator, please:
- Fork the repository
- Create a new branch
- Make your changes
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.