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/

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.

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.2.tar.gz (97.2 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.2-py3-none-any.whl (97.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mkdocs_quizdown_plugin-2025.3.2.tar.gz
Algorithm Hash digest
SHA256 78d91bbeb579fb6e38cfa199cc26f8c7fa9e592c44520b73e4b2553ad2a9ca91
MD5 1e4a3c36ca00c663b0534821fe2db8ed
BLAKE2b-256 38df55ecc1d18ec4774e9a5c633dae6b0e0dfaad7d19cdd80f57080cefba6572

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkdocs_quizdown_plugin-2025.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a3a95d731e265f67ebda8e9d3bcf9c907a7cd5f766e36142915288181d107a9c
MD5 d2a7e3108944287b9e3db9ceba8f84f3
BLAKE2b-256 0e6f692340f1ef42fcb843ee6e899ce8e1f39e864cdfc11d919d1f1724109986

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