gitbook-plugin-mcqx

Introduction

This page is implemented using the two plugins developed by me: gitbook-plugin-mcqx and gitbook-plugin-sectionx. You can use the two plugins separately, but they can also be integrated for more interactivity.

Please check the Github repo for the syntax, changelog of the plugin gitbook-plugin-mcqx. Syntax too complicated? Use the code generator in the plugin homepage.

The source code for this page is available here for your reference.

Example

Question attempted will be disabled, however, you can open a new tab in Incognto Mode (Chrome), Private Window (Firefox), or clear your cookies if you want to try to answer this question again.

The random option is enabled for the question, you might find the order of the questions to be different when you refresh the page.

Which of the following is not a planet in the Solar System?





The random option is disabled for the question.

Just click option C to continue.





You can use count to only displayed a certain number of options. You can try to see all the options by refreshing the page, or if you are smart, just take a look of the source code of this page.

Just find the number "42" and click it.








You can add a {%message%} sub-block. The message will be displayed only after the user has answered the question correctly, useful for outputing answer explanation.

Just find the number 42 and click it.





This is a question?




results matching ""

    No results matching ""