Skip to content

hwmaier/asciidoc-ditaa-filter

Repository files navigation

ditaa filter for AsciiDoc

Version: 1.1

Introduction

ditaa (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:

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

renders:

asciidoc ditaa readme  1

More information and examples can be found on the README page.

About

ditaa filter for AsciiDoc

Resources

Stars

Watchers

Forks

Packages

No packages published