Skip to main content

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-js Javascript library included, no CDNs involved

Demo

https://tombreit.github.io/mkdocs-quizdown-plugin/

Install

via PyPI

https://pypi.org/project/mkdocs-quizdown-plugin/

pip install mkdocs-quizdown-plugin

Development version 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

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.

Credits

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_quizdown_plugin-2025.3.3.tar.gz (97.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_quizdown_plugin-2025.3.3-py3-none-any.whl (97.3 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_quizdown_plugin-2025.3.3.tar.gz.

File metadata

File hashes

Hashes for mkdocs_quizdown_plugin-2025.3.3.tar.gz
Algorithm Hash digest
SHA256 5645e3d470275d601c164ee90c029ea24123a34b5d17dc354931d5e22a617a57
MD5 4f4cf4b9ae88f70755398b3f32922ce9
BLAKE2b-256 4f2c56651c5617c1716532232bd5d6fb4f7edc558d684d446a58347c2c713031

See more details on using hashes here.

File details

Details for the file mkdocs_quizdown_plugin-2025.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_quizdown_plugin-2025.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e959f9a7d7eb6db2c17456d495ef5dea18e6fa7b7ac3d9444556f5096429a56f
MD5 3958b4d1d017f170535c7e6e9f6b8d1e
BLAKE2b-256 d9c36aa215e83958bb8a6f21a99838829838db774c52370ef741ca913bc15b7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page