mermaid-live-editor
mermaid-live-editor copied to clipboard
Feature request: draw graph in ascii art
I'd like to include mermaid graphs in text heavy environments which don't always embed images / attachments well (markdown, wikis, emails, chat, etc). One option is to have the live mermaid editor generate ASCII art which I can then copy paste into my text / markdown documents.
inspiration: https://plantuml.com/ascii-art
I like this feature
With the now available Mermaid support in Github Markdown, this is probably not necessary from initial intention, however it would still be sometimes useful if one wants to include diagrams directly in the code comments (or is this a rare use case?)
and for output of a cli it would be great too
This would be nice and we can move on from asciiflow 😄
yeah. One of the cases for this: IETF RFCs are still rendered as plain texts. So even if you want to use some up-to-date awesome tool for diagrams, you still need to convert them to the ASCII representation. If you can not do it automatically — then the only option is just not to use cool tools at all ((( And create diagrams from the beginning by hand is asciiflow for example.
I would love a way to convert mermaid to ascii for use in IETF RFCs.
I'm looking for this feature, it would be very useful having it!
Also looking for this feature for the CLI output
If you can't live without it, ChatGPT can create somewhat good enough head start which you can edit yourself - it is really bad at counting characters, so you'll have to add the right amount of spaces yourself:
I tried like 5 extra prompts to convince it to fix it and nothing was perfect.
it's really helpful in code comment