lsegal / yard

YARD is a Ruby Documentation tool. The Y stands for "Yay!"
http://yardoc.org
MIT License
1.92k stars 395 forks source link

ditaa ASCII art filter/parser (default or optional template/plugin) #157

Closed hedgehog closed 13 years ago

hedgehog commented 13 years ago

Not sure if this is readily do-able or if it fit yard's roadmap... it would seem useful to have the ability to insert ascii art into comments and have it nicely rendered

Ditaa Examples:

http://ditaa.org/ditaa/ http://ditaa.org http://github.com/athoune/Ditaa-web

lsegal commented 13 years ago

Very nice looking library. It's probably not something that would fit into yard's core codebase, but have you considered writing a plugin? You could leverage the "syntax highlighting" API to convert indented blocks of ascii data into graphs in the form:

!!!ditaa
<embedded graph here>