Sha256: 9ac281d5869e78f9953b0d87498584bba2becfee70be1afb28a3d5e24d61a066
Contents?: true
Size: 655 Bytes
Versions: 6
Compression:
Stored size: 655 Bytes
Contents
# Pandoc Filter for DITAA Turns inline DITAA diagrams into SVG. Needs a local installation of ditaa, e.g. `brew install ditaa`. # Example Given this markdown document (note the DITAA block) saved as `example.markdown` ```markdown The following graph shows two boxes, connected: ```ditaa +-----+ +-----+ | A |-->| B | +-----+ +-----+ ``` As you can see, ditaa renders that quite pretty. It's turned into an embedded SVG. ``` The following command turns the DITAA block into SVG, embedded in the HTML: ```command $ pandoc --lua-filter ditaa-inline.lua --out example.html example.markdown ``` The result looks like this: ![](example.png)
Version data entries
6 entries across 6 versions & 1 rubygems