hexo-helper-quiz

A plugin which helps build quizzes quickly.

Usage no npm install needed!

<script type="module">
  import hexoHelperQuiz from 'https://cdn.skypack.dev/hexo-helper-quiz';
</script>

README

hexo-helper-quiz

A plugin which helps build quizzes quickly.

Getting Start

$ npm install hexo-helper-quiz

Usage

{% quiz A Funny Test %}

<!-- Single choice question -->
Which of the following characters I like **best**?
--------------------------------------------------
( ) Izumi Sagiri (和泉 紗霧)
( ) Kousaka Kirino (高坂 桐乃)
(x) Zero Two (02)
( ) Takanashi Rikka (小鳥遊 六花)

<!-- Multiple choice question -->
Select all books written by _Fushimi Tsukasa_ (伏見 司).
-------------------------------------------------------
[x] Oreimo (俺の妹がこんなに可愛いわけがない)
[x] Eromanga Sensei (エロマンガ先生)
[ ] Yosuga no Sora (ヨスガノソラ)
[ ] The Three-Body Problem (三体)

{% endquiz %}

demo

Feature

  • Friendly grammar
  • Markdown is supported

TODO

  • leancloud statistics

LICENSE

MIT