Mermaid.art
A wrapper for using mermaid in arturo's webview
What does this package do?
This package provides a wrapper for using mermaid, to display diagrams in an arturo's webview
How do I use it?
import ./"mermaid"!
webview.inject: mermaidJs
.title: "A mermaid example"
---------------
This is a simple mermaid example
<pre class="mermaid">
graph LR
A --- B
B-->C[fa:fa-ban forbidden]
B-->D(fa:fa-spinner);
</pre>
Later there could be ways to construct diagrams directly from arturo data.
Contributing
Mermaid.art has been designed with flexibility and extensibility in mind.
- Can you make it work offline?
- Have you noticed an error and want to fix sth?
- Do you want to add more options?
- Do you want to add more tests to an inject to make it more robust?
You are 100% welcome! Just make a PR and I'll be more than glad to merge it! 🚀
Last updated:
0.0.1 | 27 September 2024 | 26955 / 6 files |
No dependencies.