Marked is an application to preview Markdown syntax in HTML. There are additional utilities such as link validation, readability statistics, scroll to first edit, and CSS switching. Marked also supports custom processors (that can send HTML to STDOUT) so I could configure AsciiDoc to create the HTML from my AsciiDoc files.
In the behavior settings of Marked I completed the following steps: - enabled Custom Markdown Processor - entered "opt/local/bin/asciidoc" as the path to asciidoc (I used MacPorts to install AsciiDoc) - entered "--backend html5 -" as args (the - at the end sends the output as STDOUT) Now, when I save updates to an AsciiDoc file from any editor, Marked will preview my document for me. This is a great way to see Graphviz charts and pycharts however external files and macros need additional configuration (for example if you are loading a CSV file, creating a QR Code or running an external script from the AsciiDoc file.) This sends the current document to STDIN and displays the generated HTML as STDOUT. Admittedly, a long document can take a long time to preview, for example a 10'000 word document takes nearly 20 seconds to display in the Marked preview. -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To view this discussion on the web visit https://groups.google.com/d/msg/asciidoc/-/jCo7rzOmH8wJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
