-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: draw graph in ascii art #36
Comments
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 |
it's really helpful in code comment |
I recently found Diagon, it has it's own-syntax but very similar to Mermaid. To use in the web environment, we can try https://github.com/elmouradiaminedev/diagonjs which looks like a webassembly wrapper of the Diagon library. You can also try out the online demo here -> https://arthursonzogni.com/Diagon/ |
speaking as a maintainer of the GitHub CLI, I would love to enhance found https://github.com/AlexanderGrooff/mermaid-ascii from @AlexanderGrooff, need to see how it compare to alternates but just wanted to share interest ❤ ty for supporting durable communication |
Reminder. |
Thanks for the mention @andyfeller. I've added some more features to the https://github.com/AlexanderGrooff/mermaid-ascii repo and you can check out a demo on https://mermaid-ascii.art. Let me know what you think! I'm more than happy to help out. |
Thanks, @AlexanderGrooff! 🙌 The GitHub CLI leverages https://github.com/charmbracelet/glamour for rendering markdown within the terminal, which is built on https://github.com/yuin/goldmark. I'll have to look into the extension support used for GFM to see what is needed to wire this into the toolchain. |
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.
The text was updated successfully, but these errors were encountered: