Using JavaScript

Any section or passage can call some JavaScript when it is displayed. Simply indent with four spaces or a tab, before the text.

Clicking this [link] will show an alert. [link]: alert ("Hello!"); Text for the passage.

Edit example in ScratchPad →