Look at the plugins. I didnt try any, but looks like 'at_produce' or 'interact' plugins are for you.
вт, 13 авг. 2019 г. в 18:27, Rob <larg...@gmail.com>: > This is probably a simple Python script, but my searches online have been > more confusing than clarifying as I'm not experienced enough w/ Python to > sort it all out. The few I tried didn't work. > > I am (re)discovering how useful pandoc is and now use it frequently w/ > stuff I write in Leo (mostly rst and md) to create .odt, docx, .tex and > .html output. Current workflow: > > 1. Write pandoc command line instructions in Leo (they can be quite > long and I can save and use them again later). > 2. Copy node text to clipboard and paste into a Powershell window. > 3. Execute the pandoc command. > 4. If output is stdout, then copy output to clipboard and paste into > another Leo node for additional work if necessary. > > What would be cool and convenient is do all of that with one script, as in: > > > 1. Copy node text containing the pandoc commands (already have a > script for that part). > 2. Send to shell and execute. > 3. Return result back to Leo into a new node (perhaps a child, perhaps > not). > > Seems there would be other use cases for sending commands to a shell and > retrieving results back into Leo besides pandoc. Any suggestions on where > to start? > > Rob... > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to leo-editor+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/leo-editor/8572044a-9fc4-4254-ba7e-6c0bdcba5f5d%40googlegroups.com > <https://groups.google.com/d/msgid/leo-editor/8572044a-9fc4-4254-ba7e-6c0bdcba5f5d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAC%2B8SVzB12nktez-uPGyLbwbNi4S7PPzDZ5ytFj7JG4kY_jSAQ%40mail.gmail.com.