News for hackers. Stuff that matters.
Re:Include diagrams in your Markdown files with Mermaid by ak217 on Monday February 14, 2022 @01:52PM (#30336411)
Mermaid is fantastic. Aside from mermaid, I've recently been introduced to nomnoml (https://nomnoml.com/) and it is fantastic as well.

My wish is for Mermaid and nomnoml to become universally supported among Markdown web renderers (I'm looking first and foremost at Github of course).

Re:Include diagrams in your Markdown files with Mermaid by KaoruAoiShiho on Monday February 14, 2022 @02:46PM (#30337244)
I'm using mermaid to render this route map for interactive fiction: https://fiction.live/tsukihime/Satsuki-Yumizuka-Route/4B9obc...

How does nomnoml compare? The results are with mermaid are not ideal for me.

Edit: That one above is actually relatively decent. The results with mermaid can get a lot worse, actually to the point of uselessness.

Terrible examples below

https://fiction.live/stories/The-Hypno-Games/eSSzPJ6qiqAC746...

https://fiction.live/stories/The-Gynarchy/czyGfAtJpRgtzGFmW/...

Re:Include diagrams in your Markdown files with Mermaid by thuringia on Monday February 14, 2022 @03:02PM (#30337475)
I don’t know about nomnoml but dot/graphviz works very well for this type of chart. Definitely another idea to try out.

PS: thanks for investing so much work into Tsukihime!

Re:Include diagrams in your Markdown files with Mermaid by sundarurfriend on Monday February 14, 2022 @10:39PM (#30342463)
Not sure why, but none of these render anything for me. It gives the progress message, then I get a plain square with no content in it. I've tried Firefox with and without uBlock enabled, and Brave with "Shields" up and down.

edit: Oh, I'm on Linux btw.

Re:Include diagrams in your Markdown files with Mermaid by Ciph on Monday February 14, 2022 @02:26PM (#30336961)
I love mermaid, but I'm also very annoyed by the variety of how its implemented in different markdown editors. One thing that I find quite annoying is the lack of fontawesome support - afaik only the live mermaid editor and hack.md supports it out of the box. Other editors require a lot of .conf file editing.

Thanks for the tip of nomnoml, didn't know about it.