npm.io
0.1.0 • Published 5 years ago

wc-quiz

Licence
MIT
Version
0.1.0
Deps
4
Size
1.9 MB
Vulns
0
Weekly
0

A web component for quiz using markdown gfm markdown

Installation

Installation

npm i wc-quiz

Import from NPM

<script type="module" src="node_modules/wc-quiz/index.js"></script>

Import from CDN TODO

<script
  type="module"
  src="https://cdn.jsdelivr.net/???gh/????/wc-quiz/index.js"
></script>

Usage

Basic Usage
<!-- code sample -->

Special thanks

micromark-plugins

This web componenent uses micromark to render markdown to html in the browser lightly, it uses:

  • micromark-extension-math associated with kayex to render tex math to mathhml.
  • micromark-extension-frontmatter: TODO Utile ou non?

References

Progressbar: https://getbootstrap.com/docs/5.0/components/progress/#keyframes