Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

A pure Space Lua library that adds Mermaid diagrams to SilverBullet.

It gives you two ways to draw diagrams:

  • Static diagrams — ordinary fenced ```mermaid code blocks, live-previewed.
  • Dynamic diagrams — a Space Lua API that generates Mermaid diagrams at runtime from your space's data (the object index). A diagram becomes just another live view of your notes: edit a page's frontmatter and the diagram redraws itself, exactly like a query table.

More details in the library itself: Mermaid.md

Requires: SilverBullet 2.10+ (or edge, as 2.10 is not yet released at the time of this writing).

Installation

Open the SilverBullet "Library Manager" and install via the URI: github:silverbulletmd/silverbullet-diagram/Mermaid.md

License

MIT

About

Diagraming suppor (with Mermaid) for SilverBullet

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors