{"_rev":"3-73f21385dbf8f366d4cfc19d8fc26f10","time":{"created":"2026-01-28T13:09:52.142Z","modified":"2026-01-28T13:09:52.625Z","0.6.1":"2026-01-28T12:47:53.201Z","0.6.2":"2026-01-28T13:09:52.416Z"},"_id":"@deivix13/quizdown","name":"@deivix13/quizdown","dist-tags":{"latest":"0.6.2"},"versions":{"0.6.2":{"name":"@deivix13/quizdown","version":"0.6.2","description":"Markdown for generating interactive quiz apps in the browser.","private":false,"type":"module","scripts":{"build":"rollup -c","dev":"rollup -c -w","start":"sirv public","validate":"svelte-check","release":"dotenv release-it"},"release-it":{"hooks":{"after:bump":"npm run build"},"npm":{"publish":false},"github":{"release":true}},"keywords":["quiz","multiple-choice","svelte","markdown"],"author":{"name":"Malte Bonart"},"license":"MIT","devDependencies":{"@fortawesome/free-regular-svg-icons":"^5.15.3","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.0.0","@rollup/plugin-typescript":"^6.0.0","@tsconfig/svelte":"^1.0.10","@types/marked":"^2.0.3","acorn":"^8.2.4","css-tree":"^1.1.3","dotenv-cli":"^4.0.0","postcss":"^8.3.5","release-it":"^14.6.1","rollup":"^2.39.0","rollup-plugin-analyzer":"^4.0.0","rollup-plugin-livereload":"^2.0.0","rollup-plugin-svelte":"^7.0.0","rollup-plugin-terser":"^7.0.0","rollup-plugin-version-injector":"^1.3.3","sass":"^1.35.2","sirv-cli":"^1.0.0","svelte":"^3.43.2","svelte-check":"^1.0.0","svelte-preprocess":"^4.0.0","tslib":"^2.0.0","typescript":"^3.9.3"},"repository":{"type":"git","url":"git+https://github.com/bonartm/quizdown-js.git"},"main":"public/build/quizdown.js","dependencies":{"@fortawesome/fontawesome-svg-core":"^1.2.35","@fortawesome/free-solid-svg-icons":"^5.15.3","auto-bind":"^4.0.0","dompurify":"^2.2.6","highlight.js":"^10.7.0","katex":"^0.13.11","marked":"^2.1.3","strip-indent":"^3.0.0","svelte-i18n":"^3.3.9","yaml":"2.0.0-5"},"_id":"@deivix13/quizdown@0.6.2","gitHead":"05e90b56ccaa2334b9d0746b031e4ec867eb4ac5","bugs":{"url":"https://github.com/bonartm/quizdown-js/issues"},"homepage":"https://github.com/bonartm/quizdown-js#readme","_nodeVersion":"24.8.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-oYX8hT1nPqVy1B95mMGP425Qxvg0PygmI0PiE5Otexji0intEvLxIwiPR93rbGvc51oxklvMFxDyjzLrj9NUng==","shasum":"4ffd3301e8e03398a88d50a7e79590f63a3efa8e","tarball":"https://registry.npmjs.org/@deivix13/quizdown/-/quizdown-0.6.2.tgz","fileCount":48,"unpackedSize":687797,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBpsYRw+pywx8da2EdlpY9XevPDIOr2WUnP4PaD7gJLXAiBlg+dOeZg0X53XdO8We/GR/ELdOiOakWUgvy9levoXjw=="}]},"_npmUser":{"name":"deivix13","email":"deividcode13@gmail.com"},"directories":{},"maintainers":[{"name":"deivix13","email":"deividcode13@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/quizdown_0.6.2_1769605792202_0.8844989277491264"},"_hasShrinkwrap":false}},"maintainers":[{"name":"deivix13","email":"deividcode13@gmail.com"}],"description":"Markdown for generating interactive quiz apps in the browser.","homepage":"https://github.com/bonartm/quizdown-js#readme","keywords":["quiz","multiple-choice","svelte","markdown"],"repository":{"type":"git","url":"git+https://github.com/bonartm/quizdown-js.git"},"author":{"name":"Malte Bonart"},"bugs":{"url":"https://github.com/bonartm/quizdown-js/issues"},"license":"MIT","readme":"[![Status: Archived](https://img.shields.io/badge/Status-Archived-yellow.svg)](#)\n\n> **Archived** • This repository was archived on **2025-11-19** and is no longer maintained.\n\n\n# quizdown [![npm version](https://badge.fury.io/js/quizdown.svg)](https://badge.fury.io/js/quizdown) [![Build](https://github.com/bonartm/quizdown-js/actions/workflows/build.yml/badge.svg)](https://github.com/bonartm/quizdown-js/actions/workflows/build.yml)\n> Markdownish syntax to instantly create simple interactive quiz apps for your static website.\n\nI'm working on this project in my free time to learn more about modern web development and languages. This is a toy project and should not be used in serious projects for now. \n\n### 🚀 Try the [quizdown live editor](https://bonartm.github.io/quizdown-live-editor/)\n\n- supports markdown text formatting, images, syntax highlighting and math rendering.\n- different [quiz-types](./docs/syntax.md): single-choice, multiple-choice, sequence.\n- support for [hints and explanations](./docs/syntax.md#hints-and-comments).\n- [options](./docs/options.md) for color theme, question shuffling, localization.\n- can be easily included in any website, static site generator or [other web projects](./docs/module_import.md).\n- mobile friendly with touch support for all question types.\n\n## Usage\n\nquizdown is easy to setup and best used in combination with existing static site generators like *Jekyll*, *Hugo* or *Sphinx*. Check out the extensions\n[hugo-quiz](https://github.com/bonartm/hugo-quiz) and [sphinxcontrib-quizdown](https://github.com/bonartm/sphinxcontrib-quizdown).\n\n### 📚 [Documentation](./docs/)\n\n\n\n## Stand-alone Example\n\nAdd the library to your website and initialize with default options:\n\n```html\n<head>\n\t...\n    <script \n\tsrc=\"https://cdn.jsdelivr.net/npm/quizdown@latest/public/build/quizdown.js\">\n\t</script>\n\t<script>quizdown.init();</script>\n\t...\n</head>\n```\n\nTo keep the bundle size low, syntax highlighting and math rendering are implemented in separate extensions that can be loaded and registered manually if needed: \n\n```html\n<head>\n\t...\n    <script src=\"./build/quizdown.js\"></script>\n\t<script src=\"./build/extensions/quizdownKatex.js\"></script>\n\t<script src=\"./build/extensions/quizdownHighlight.js\"></script>\n\t<script>\n\t\tquizdown.register(quizdownKatex).register(quizdownHighlight).init();\n\t</script>\n\t...\n</head>\n```\n\nWrite questions within a `quizdown` class (edit in the [🚀quizdown editor](https://bonartm.github.io/quizdown-live-editor/?code=---%0AprimaryColor%3A%20steelblue%0AshuffleQuestions%3A%20false%0AshuffleAnswers%3A%20true%0A---%0A%0A%23%23%23%20Select%20your%20superpowers!%0A%0A-%20%5B%20%5D%20Enhanced%20Strength%0A-%20%5B%20%5D%20Levitation%0A-%20%5Bx%5D%20Shapeshifting%0A%0A%23%23%23%20What%27s%20the%20capital%20of%20Germany%3F%0A%0A%3E%20Hint%3A%20The%20_largest_%20city%20in%20Germany...%0A%0A1.%20%5Bx%5D%20Berlin%0A1.%20%5B%20%5D%20Frankfurt%0A1.%20%5B%20%5D%20Paris%0A1.%20%5B%20%5D%20Cologne)):\n\n```html\n...\n<div class=\"quizdown\">\n\t---\n\tprimaryColor: steelblue\n\tshuffleQuestions: false\n\tshuffleAnswers: true\n\t---\n\n\t### Select your superpowers!\n\n\t- [ ] Enhanced Strength\n\t- [ ] Levitation\n\t- [x] Shapeshifting\n\n\t### What's the capital of Germany?\n\n\t> Hint: The _largest_ city in Germany...\n\n\t1. [x] Berlin\n\t1. [ ] Frankfurt\n\t1. [ ] Paris\n\t1. [ ] Cologne\n</div>\n...\n```\n\n\n\n## Contributing\n\nPull requests and feature requests are welcome. For major changes, please open an issue first to discuss what you would like to change. I'm happy for any feedback on how to improve the code base. \n\n### Wish List\n\n- support for videos via youtube api (https://github.com/bonartm/quizdown-js/issues/10)\n- customizable reward page at the end of the quiz (https://github.com/bonartm/quizdown-js/issues/14)\n- fill in the blanks quiz (https://github.com/bonartm/quizdown-js/issues/17)\n- link quizzes on different pages together via a results summary page (https://github.com/bonartm/quizdown-js/issues/18)\n\n### How To\n\nAfter cloning, install the packages with \n\n```bash\nnpm install\n```\n\nBuild the library with\n\n```bash\nnpm run build\n```\n\nYou can also preview a live version with\n\n```bash\nnpm run dev\n```\n\n\n## Credits\n\nInspired by the [mermaid library](https://mermaid-js.github.io/mermaid/#/) and the python package [quizdown](https://github.com/jjfiv/quizdown).\n","readmeFilename":"README.md"}