MkDocs plugin for quizdown-js
Project description
mkdocs-quizdown-plugin
🔥 This is work in progress - no liability for nothing.
- Allows embedding quizdown-js quizzes in MkDocs pages
- Multiple quizzes can be embedded on multiple pages, and/or
- Multiple quizzes can be embedded on one page
quizdown-jsJavascript library included, no CDNs involved
Demo
https://tombreit.github.io/mkdocs-quizdown-plugin/
Install
via PyPI
https://pypi.org/project/mkdocs-quizdown-plugin/
via git
# Initial install:
python -m pip install \
'mkdocs-quizdown-plugin @ git+https://github.com/tombreit/mkdocs-quizdown-plugin'
# Upgrade plugin:
python -m pip install \
--upgrade --no-deps --force-reinstall \
'mkdocs-quizdown-plugin @ git+https://github.com/tombreit/mkdocs-quizdown-plugin'
You can use the requirement item 'mkdocs-quizdown-plugin @ git+https://github.com/tombreit/mkdocs-quizdown-plugin' in your requirements.txt:
# file: requirements.txt
mkdocs
mkdocs-quizdown-plugin @ git+https://github.com/tombreit/mkdocs-quizdown-plugin
Configuration
See mkdocs.yml
Usage
Currently only available via it's git repository.
Embed your quiz as a Markdown block in your MkDocs Markdown page and enclose it with the mkdocs-quizdown start (:::{quizdown}) and end markers (:::):
# Quiz
Some **markdown** content.
:::{quizdown}
---
primaryColor: steelblue
shuffleQuestions: false
shuffleAnswers: true
---
# What is the capital of France?
> Paris is the capital and largest city of France.
1. [x] Paris
2. [ ] London
3. [ ] Berlin
4. [ ] Madrid
:::
Some **markdown** content.
- Try the quizdown live editor from the author of
quizdown-jsto prepare your quiz markdown - quizdown-js configuration options
- MkDocs integration demo:
docs/index.md
Credits
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mkdocs_quizdown_plugin-2025.3.2.tar.gz.
File metadata
- Download URL: mkdocs_quizdown_plugin-2025.3.2.tar.gz
- Upload date:
- Size: 97.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78d91bbeb579fb6e38cfa199cc26f8c7fa9e592c44520b73e4b2553ad2a9ca91
|
|
| MD5 |
1e4a3c36ca00c663b0534821fe2db8ed
|
|
| BLAKE2b-256 |
38df55ecc1d18ec4774e9a5c633dae6b0e0dfaad7d19cdd80f57080cefba6572
|
File details
Details for the file mkdocs_quizdown_plugin-2025.3.2-py3-none-any.whl.
File metadata
- Download URL: mkdocs_quizdown_plugin-2025.3.2-py3-none-any.whl
- Upload date:
- Size: 97.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3a95d731e265f67ebda8e9d3bcf9c907a7cd5f766e36142915288181d107a9c
|
|
| MD5 |
d2a7e3108944287b9e3db9ceba8f84f3
|
|
| BLAKE2b-256 |
0e6f692340f1ef42fcb843ee6e899ce8e1f39e864cdfc11d919d1f1724109986
|