← Back to team overview

zim-wiki team mailing list archive

Additional command line options in cmd plugins

 

Insert equation / diagram / ditaa, plugins all share similar structure.
Even more ditaa plugins has left comments from diagram plugin ;)

I want to suggest allowing all these plugins to accept additional options
on insertion (on runtime).
For example for what I used ditaa plugin I changed the source and added
`-E` option to be by default (--no-separation). Maybe it could be handy to
set addtional parameters on insertion, without changing plugin source code
for the task.

Similarly, for equations inserted inline I want to use different dpi
option, then for those that aren't inlined, as inserting regular equation
in text will change vertical line spacing, and it won't look good as it
could.

Yet graphviz...

Changing plugins source may be some kind o workaround, but then editing
named item, will reflect current plugin setting.
And then if something like this gets accepted, where to store this options?
Probably it won't be too much complicated, as setting additional parameters
would not be something that user would do often, but again.

No high hopes, just thought to ask.

Cheers

Follow ups