5 ms·
ASCIIToSVG – Create beautiful SVG renderings of ASCII diagrams
- hansword 4y agoI want to snidely remark in an HN thread that if you make a thing that generates visual output, you should show some examples of that output.
- xiconfjs 4y agoowner replied with "Ask GitHub to support insertion of SVG into their Markdown". Perhaps "screenshots" of the output in jpg or png are fine, too.
- deleted 4y ago[deleted]
- boesboes 4y agoYou can just use svg files in github markdown afaik
- ainar-g 4y agoI've tried it with the logo diagram: .-------------------------. | | | .---.-. .-----. .-----. | | | .-. | +--> | | <--| | | | '-' | | <--| +--> | | | '---'-' '-----' '-----' | | ascii 2 svg | | | '-------------------------' A screenshot of the resulting SVG in the GNOME Image Viewer: https://imgur.com/I6NySZp https://imgur.com/I6NySZp.
- sokoloff 4y agoThat might be 2% snide, but it’s 98% practical advice.
- mcphage 4y agoThat's not even snide, that's just... basics. Otherwise why waste peoples' attention?
- wtetzner 4y agoWhat an odd perspective. Someone built a tool they thought was useful, and released it under the MIT license in case other people might benefit from it, but not putting a screenshot in the README is wasting people's attention?
- mcphage 4y agoYeah. "Hey, come look at this thing! It's really great, and makes pretty pictures, but you'll have to trust me on that. Sure, it's worth your time to figure out the issues; my lack of attention to the readme definitely hasn't extended to making this work on machines other than mine, honest."
- wtetzner 4y agoI think you might be reading into it too much. Unless the README really is saying you should use it, as opposed to just describing what it is.
- mcphage 4y agoThe readme is there to tell people what the project is about, why they should use it, and the basics of doing so—yes, absolutely. How are you going to get anybody to use your project or contribute to it if you can’t (or don’t) even make it clear why they should care?
- jinwoo68 4y agoI find Markdeep[1] easier than this. [1] https://casual-effects.com/markdeep/ https://casual-effects.com/markdeep/
- SanchoPanda 4y agoAs a webapp for the diagram to svg portion only: https://github.com/doersino/markdeep-diagram-drafting-board https://github.com/doersino/markdeep-diagram-drafting-board
- hansword 4y agoThey use screenshots to give an idea of the visual output. It's truly astonishing!
- russh 4y agoASCIIToSVG sounds interesting but Markdeep looks interesting.
- brainbag 4y agoI've been curious for a while why someone hasn't extended markdown into LaTeX territory and this looks like someone did.
- abraxas 4y agoNot sure that I see the point of this. Such ascii art seems more trouble to create than an equivalent diagram in an svg editor? And if I want pretty output from a textual input wouldn't mermaid[1] make much more sense? [1] https://mermaid.live https://mermaid.live