Skip to main content

A mkdocs plugin to create a quiz in your markdown document.

Project description

MkDocs Quiz Plugin

Create your first quiz

<?quiz?>
question: Are you ready?
answer-correct: Yes!
answer: No!
answer: Maybe!
content:
<h2>Provide some additional content</h2>
<?/quiz?>

quiz-start quiz-question: Are you ready? quiz-answer-correct: Yes! quiz-answer: No! quiz-answer: Maybe! quiz-content:

Provide some additional content

quiz-end ```

Info The answers can styled with HTML (like <code>Yes!</code>)

Warning The quiz content needs to be valid HTML

Multiple choice

You can also create a multiple choice quiz, by providing multiple answers as correct.

quiz-start
quiz-question: Are you ready?
quiz-answer-correct: Yes!
quiz-answer-correct: Maybe!
quiz-answer: No!
quiz-content:
<h4>Great!</h4>
quiz-end

Screenshots

Quiz (single choice)

Quiz (multiple choice)

Disable for a page

---
quiz: disable
---

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_quiz-0.0.40.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

mkdocs_quiz-0.0.40-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_quiz-0.0.40.tar.gz.

File metadata

  • Download URL: mkdocs_quiz-0.0.40.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for mkdocs_quiz-0.0.40.tar.gz
Algorithm Hash digest
SHA256 4052985e391638bbd4ecb02a2b23c73f401627fb00d0d2e2e55374608390e79c
MD5 d5073ccf0d86821ca4d3ceece9d853b9
BLAKE2b-256 07f333136f946700cea95354fe281e80b0cb84acfc8e17ce8142b956a91c1445

See more details on using hashes here.

File details

Details for the file mkdocs_quiz-0.0.40-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_quiz-0.0.40-py3-none-any.whl
Algorithm Hash digest
SHA256 2d88a25418fb4f1581de77fcc11bb5f103ebc866dfe5f0cf9db25801e491bc66
MD5 dc19210ca9e0c48ffcb01b50dcfc91b7
BLAKE2b-256 cc70d84e5a271ad29c714914a43a8dc28382c220c10bff0e58d189b3af357fc8

See more details on using hashes here.

Supported by

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