Scriptlets

Warning: This section is incomplete.

If you can program, you can add new functionality to your publication using Javascript. H5mag is fully scriptable using Scriptlets — little pieces of code that interact with elements of your choosing.

Scriptlets API

Execution level

Scriplets can execute on the level of the publication format, the current edition or the current article.

Available variables

Name Context Description
this Article Within an article this points to the current article
Last modified: