Brett on 30 Oct, 2014 12:57 PM
It's possible by including flowchart.js. You could have a custom
preprocessor that inserted this automatically when certain markup was
detected. When I get time, I'll write up how to do it as a knowledgebase
You don't necessarily need a custom processor, you can just include
markup in the document to link a script, etc. A pre-processor could
insert the script tag into every document automatically, but let me know
if that's a necessity for you.
Brett on 22 Jul, 2017 05:36 PM
Sorry for the delayed response to this one,
Essentially you could create a simple preprocessor script that just inserted a script tag for mermaid.js before the rest of the document. Here's an example you can save somewhere like ~/Library/Scripts/mermaid.sh and set up as a Preprocessor.