I want to run PanDoc on a markdown file using JMP's Run Program command. I am on MacOS. I have looked at the scripting guide and the Scripting Index, but I cannot seem to get the correct syntax.
On my system PanDoc is installed at
/opt/homebrew/Cellar/pandoc/3.7.0.2/bin/pandoc
the command line to use pandoc would be this
pandoc /markdown.md -f markdown -o /markdown.html
I tried this and will not work. Note that is the path to the files, I did not include that here.
Run Program(
Executable("/opt/homebrew/Cellar/pandoc/3.7.0.2/bin/pandoc"),
Options(<BR /> {<BR /> "<PATH>/markdown.md -f markdown -o <PATH>/markdown.html"<BR /> }<BR /> )
)</PATH></PATH>
Any idea on how I can get this to work?