Hi, On Wed, 10 Oct 2018 21:46:26 +0200 meik michalke <meik.micha...@uni-duesseldorf.de> wrote: > hi, > > the call > > system("pandoc --list-output-formats") > > lists the output formats your currently installed version of pandoc > can write. given that this list of formats will vary between systems, > it might be a good idea to not have a static dropdown menu with > possible output formats, but one which only lists what you can > actually use. so, could the above call somehow be used to dynamically > fill a dropdown menu in a plugin dialog?
this is not currently possible for a dropdown, but you can set the options of a <select> element, dynamically (property "available"). Of course that feature would make sense for a dropdown just as much, but the implementation of that is quite different. Regards Thomas
pgp3etFJrDw60.pgp
Description: OpenPGP digital signature