mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
Graphing support: add nomnoml #145
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PulsarFX on GitHub (Oct 12, 2017).
Would it be possible to add further graphing support to the existing mermaid extension?
Mermaid is really weak on class diagrams, so I started looking around and found http://www.nomnoml.com/ from https://github.com/skanaar/nomnoml
which has really nice syntax and produces nice diagrams.
Maybe something like
To insert a nomnoml block?
@PulsarFX commented on GitHub (Oct 16, 2017):
to add a little more input:
nomnoml can draw to a canvas, or output the diagram in svg:
this is a minimal example showing both types:
it would be enough to let markdig output a div just like it is done with mermaid:
this could be parsed afterwards like this:
@xoofx commented on GitHub (Oct 16, 2017):
This is a one line add in markdig (see DiagramExtension.cs#L27), so PR welcome if you want this. 😉
@PulsarFX commented on GitHub (Oct 17, 2017):
I can only provide patches. thanks to .net core 2 I am not able to compile or do anything :-/
nomnomlSupport.zip
@PulsarFX commented on GitHub (Oct 17, 2017):
finally managed to create a pull request: #149
only took me 6 hours 🤣
@xoofx commented on GitHub (Oct 17, 2017):
Fixed by #149