hwmaier / asciidoc-ditaa-filter

ditaa filter for AsciiDoc
7 stars 6 forks source link

ditaa filter for AsciiDoc

Author: Henrik Maier

Version: 1.1

Introduction

ditaa (link:http://ditaa.sourceforge.net[]) is a small command-line utility written in Java, that can convert diagrams drawn using ascii art (drawings that contain characters that resemble lines like | / - ), into proper bitmap graphics.

Using the AsciiDoc ditaa filter, ASCII line art can be embedded into AsciiDoc documents and processed as PNG bitmap graphics.

For example this ASCII text:

[listing] ..................................................................... +--------+ +-------+ +-------+ | | --+ ditaa +--> | | | Text | +-------+ |diagram| |Document| |!magic!| | | | {d}| | | | | +---+----+ +-------+ +-------+ : ^ | Lots of work | +-------------------------+ .....................................................................

renders:

image::images/asciidoc-ditaa-readme__1.png[]

More information and examples can be found on the link:https://cdn.rawgit.com/hwmaier/asciidoc-ditaa-filter/master/asciidoc-ditaa-readme.html[README page].