Hi, Nice to see those additions. In the Leo's documentation, I would expand about why the "pandoc tool must exist".
Cheers, Offray On 7/10/19 10:31 a. m., Edward K. Ream wrote: > There are several major features here, spanning several issues, both > open and closed. > > This post will be pre-writing for Leo's documentation. > > *Support for @language pandoc* > > leo/modes/pandoc.py is based on leo/modes/md.py. > > *Live rendering of asciidoc and pandoc markup* > > The VR plugin recognizes @adoc nodes, @pandoc nodes (see below) and > @language pandoc and @language md. > > The VR plugin renders only p.b. Read on if you want render entire files... > > *Improved adoc command* > > Given an @adoc node of the form @adoc <full path>, this command does > the following: > > 1. Scan the @adoc tree, writing the result to adoc_test.adoc. > > The scan converts headlines to section markup. See help-for-command > for adoc for more details. > > 2. Calls asciidoctor or asciidoc3 to convert adoc_test to adoc.html. > > This command prefers asciidoctor to to asciidoc3 if both exist. > > *New adoc-with-preview command* > * > * > Runs the adoc command, then shows the resulting html in the default > browser. > > *New pandoc and pandoc-with-preview commands* > > Much like the corresponding adoc commands, but uses pandoc markup, > which is a variant of markdown. > > The pandoc tool must exist. > > *Summary* > > Leo now supports @language pandoc. > > The VR pane now renders asciidoc or pandoc markup live, but only for p.b. > > The new adoc, adoc-with-preview, pandoc, and pandoc-with-preview > commands work on @adoc or @pandoc trees. > > Please report your experiences with these new features. > > Edward > -- > 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 [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/leo-editor/5af2ac1d-ccf7-4f15-8301-efdcfff26828%40googlegroups.com > <https://groups.google.com/d/msgid/leo-editor/5af2ac1d-ccf7-4f15-8301-efdcfff26828%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/f0e36c5a-6a97-a2bc-4fb8-cea01cfa3f8d%40riseup.net.
