Skip to main content

mkdocs-superquiz

mkdocs-superquiz is a MkDocs plugin for interactive multilingual quizzes, configurable scoring, MathJax content, saved answers, and correction unlocking with teacher codes and QR codes.

Installation

pip install mkdocs-superquiz

Enable the plugin in mkdocs.yml:

plugins:
  - search
  - superquiz

The complete installation, configuration and syntax documentation is published on the GitLab Pages site.

Development

The project uses a hybrid workflow:

  • Yarn 4 orchestrates development commands;
  • Vite compiles only the light and dark SCSS assets;
  • setuptools builds the Python wheel and source distribution;
  • MkDocs builds the documentation under public/;
  • GitLab CI publishes tagged releases to PyPI and creates GitLab Releases.

Install the development environment once:

corepack enable
yarn install
python -m pip install -e ".[dev]"

Main commands:

yarn dev
yarn build
yarn build:full
yarn build:full:check
yarn bfc

The version in package.json is the single source of truth. Run yarn version:sync after changing it; normal builds do this automatically.

Protected vendor assets

The existing jsPlumb and QR Code files are intentionally kept as vendored runtime assets. Vite does not bundle, minify, or rewrite them. Their SHA-256 hashes are checked during every build and test.

License

GNU GPL-3.0-or-later.

Refactor verification

The current modular frontend covers six quiz types. Run the complete build and verification with:

yarn bfc

The test chain includes Python characterization, frontend scoring matrices, runtime parity and a Chromium smoke test when Chromium is installed and local test pages are permitted. Use MKSQ_REQUIRE_BROWSER_SMOKE=1 yarn test:browser when CI must treat a missing or policy-blocked browser as an error.

Sentence alternatives

For orderquiz with mode: sentence, multiple accepted answers are scored and corrected against the best matching accepted sentence. An unused equivalent token is displayed with a dashed alternative state when another valid token already occupies that position. Moving a token or using Reset All returns sentence tokens to a neutral visual state.

Download files

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

Source Distribution

mkdocs_superquiz-0.2.1.tar.gz (280.8 kB view details)

Uploaded Source

Built Distribution

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

mkdocs_superquiz-0.2.1-py3-none-any.whl (284.4 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_superquiz-0.2.1.tar.gz.

File metadata

  • Download URL: mkdocs_superquiz-0.2.1.tar.gz
  • Upload date:
  • Size: 280.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for mkdocs_superquiz-0.2.1.tar.gz
Algorithm Hash digest
SHA256 aa7da6e5c7dab9c66a874532cbcad492c50f6cbc783f1dec87a747b89913af4d
MD5 4c85b94d0a80b4b3523592a336ee5430
BLAKE2b-256 edde56ff74334ba403a97abf86ec0d0bcd9682225a0bdd4000386eda83a2dae7

See more details on using hashes here.

File details

Details for the file mkdocs_superquiz-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_superquiz-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ed70c90ee540ddfbde5f407bdfc442b1911449fce04fb76b67f95096213070ad
MD5 033bcc9a59bfcfa7ed6cff48918d187d
BLAKE2b-256 d9e58579d6e92f0d2b827e1ea5298ff5112c519059dd547ed84d45ad74e2a2f7

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.9

2 files

0.5.8

2 files

0.5.7

2 files

0.5.6

2 files

0.5.5

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.5

2 files

0.4.3

2 files

0.4.2

2 files

0.3.6

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.0

2 files

0.2.8

2 files

0.2.7

2 files

0.2.3

2 files

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.26

2 files

0.1.25

2 files

0.1.24

2 files

0.1.23

2 files

0.1.22

2 files

0.1.21

2 files

0.1.20

2 files

0.1.19

2 files

0.1.18

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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