Comment by π requiem
Re: "Mermaid graphs rendered to ascii"
Yeah. Also schematics. I've hand-drawn ASCII schematics before but it'd be cooler to use mermaid for it. Look here:
β vigilia.cc/data/vigilia/gemlog/2024/_media/esp32c3-s3-sx1276-wiring.gmi
2024-11-17 Β· 1 year ago
2 Later Comments β
π² Half_Elf_Monk Β· 2024-11-22 at 21:13:
Okay so I ollowed the link, admired the schematics and the mermaidASCII usecase. Then I hit the link at the top of that page and it gave me a CUSTOM LXX 404 message. @requiem how did you accomplish that? that's cool
π requiem [OP] Β· 2024-11-22 at 22:31:
Haha well itβs handled through the little engine I wrote. Quite simply if it cannot find a file then it returns an error header instead of 20/text gemini with the appropriate code.
Original Post
Mermaid graphs rendered to ascii β Pretty cool really. A little go script to convert Mermaid markup to ASCII art. It can be even called via curl: [preformatted]