mermaid

A wrapper for using mermaid in Arturo's webview

diagrams gui javascript mermaid mermaid charting language webview

Mermaid.art

A wrapper for using mermaid in arturo's webview

Arturo Language Badge



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.

Running docs/example.art screenshot

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! 🚀


  -
  
  1
Author
Eloitor
Version
0.0.1Latest
License
Beerware

Executable?
No
Requires
Arturo > 0.0.0