Add Plugin to Problem Package
Guide how to add a Plugin to Your Problem Package
Adding a Plugin to Your Problem Package
To include a plugin in your problem package (.zip), place it under plugins/<plugin-name>/index.html:
plugins/
my-visualizer/
index.html
script.js
style.css
index.html is required as the entry point to the plugin.Placing Plugin in your Problem Statement
To insert a plugin into a problem statement, use the \plugin{...} macro.
In problem.en.tex:
...
\plugin{my-visualizer} # Add plugin placeholder anywhere
...
This macro determines where in the problem statement the plugin will be inserted and which plugin will be rendered.