markdown-notes
markdown-notes copied to clipboard
Graphviz support
Hey @nicbou,
I have added Graphviz support using viz.js.
Please take a look at templates/notes/getting_started.md
Best regards, Herman
I will have to test this one, but I believe this is a fantastic addition. To think I used to draw those manually, then import the screenshot...
I tested a bit further and it seems that Viz()
is throwing an error when it can't parse given string. We should catch that error and render appropriate message in that block. Example of this procedure is done here. Hopefully I will update my PR with this feature by end of this week.
Hmm there could be actually easier way of implementing this and through tool called mermaid, which is actually based on markdown-like notation and can be easily integrated with marked.js
In any case, I would opt for an already popular solution. Markdown and LaTeX are very well-known already, and a third or fourth addition should be equally popular.
Alternatively, we could consider supporting embeddable content, including graphs from some popular tool.