4 ms·
Is there any way to embed diagrams in code comments and have it render in any IDE or source code hosting platform? Am I wrong for wanting this?
by 99_00 4y ago
Is there any way to embed diagrams in code comments and have it render in any IDE or source code hosting platform?
Am I wrong for wanting this?
- dmullis 4y agoAs in "ASCII art"? Generalized to "Unicode art" input, with smoothed output in SVG format: https://github.com/blampe/goat https://github.com/blampe/goat
- 99_00 4y agoThat's interesting. I was thinking something like this: println 'hello world'; /* #mermaid graph TD; A-->B; A-->C; B-->D; C-->D; */ When the file is viewed in the IDE or git web host the image is rendered in the text viewer.