The project is in a healthy, maintained state
JSyntrax JAR files wrapped in a Ruby gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Asciidoctor Diagram

Linux Build Status Gem Version

Asciidoctor Diagram is a set of Asciidoctor extensions that enable you to add diagrams, which you describe using plain text, to your AsciiDoc document. The extension will run the appropriate diagram processor to generate an image from the input text. The generated image is then inserted into your converted document.

Detailed usage instructions can be found on the Asciidoctor documentation site.

Asciidoctor Diagram was inspired by the AsciiDoc PlantUML filter.

Example

The Asciidoctor Diagram enables you to embed a plain text diagram as a block in your document. The example below shows an embedded Ditaa diagram block.

[ditaa]
----
                  +-------------+
                  | asciidoctor |---------------+
                  |  diagram    |               |
                  +-------------+               | image
                         ^                      |
                         | diagram source       |
                         |                      v
 +--------+       +------+------+        /--------------\
 |  adoc  |------>+ asciidoctor +------->| HTML + image |
 +--------+       +-------------+  html  \--------------/
----

After processing by Asciidoctor, the output file will show a rendered version of the diagram instead of the diagram source code.

asciidoctor diagram process