Open gipi opened 3 years ago
The plugin could be rewritten as a shortcode plugin which also can run inside reST, as done in core with eg. charts
or post-list
.
Ok the problem is that is not backward compatible, i.e., it's not more supported someting like .. pyplots::
. Moreover, for charts
it's present a shortcode but also a directive (nikola/plugins/compile/rest/chart.py
).
That approach of having both a directive and a shortcode is what I was thinking of.
This means that I need to add a new plugin since I don't see a way to let nikola
accepting two plugins from the same code.
I would like to use the
pyplots
plugin but I'm using markdown and the plugin is not compatible with that: is it possible to modify the plugin to use also markdown or I need to create a new plugin (extendingShortcodePlugin
)?