Awkee / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Support for ditaa (and other ASCII art?) #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is an enhancement request.

I have recently been using ditaa for generating diagrams. It would be 
incredibly awesome if pandoc supported in-line generation of these 
diagrams!

I'm surprised something like this hasn't been done before with (e.g.) 
Markdown. I'm not sure what other ASCII art renderers exist - I tried 
looking for a while but didn't find anything - but if you know of 
others, then perhaps consider those too!

Original issue reported on code.google.com by yaa...@gmail.com on 2 Jun 2007 at 9:54

GoogleCodeExporter commented 9 years ago
Reclassified as enhancement request.

Original comment by fiddloso...@gmail.com on 3 Jun 2007 at 10:30

GoogleCodeExporter commented 9 years ago
Implementing this would require either
- making pandoc depend on a java program, ditaa, or
- reimplementing ditaa's functionality in pandoc, and making it
  work on all output formats.

Note that it would be relatively easy to use a Makefile and sed
to extract a section of a markdown file marked out as ditaa
(perhaps with <---ditaa--- at the beginning and ---ditaa--->
at the end) and process it through ditaa.  At this point, I'd
rather keep pandoc simple and handle the rendering of ascii art
this way.

Original comment by fiddloso...@gmail.com on 9 Jul 2007 at 7:04

GoogleCodeExporter commented 9 years ago
That's a reasonable approach, thanks for the suggestion.

Original comment by yaa...@gmail.com on 9 Jul 2007 at 8:37