Skip to content

Convert Markdown with Ditaa plain-text diagrams to Markdown with images.

License

Notifications You must be signed in to change notification settings

astanin/ditaa-img

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ditaa-img

Convert Markdown with Ditaa plain-text diagrams to Markdown with images.

Installation

Lazy way

Run cabal install --global or cabal install --user in the source directory. This will install an executable ditaa-img to your

Tidy way

cabal sandbox init
cabal install --only-dep
cabal build
# now copy ./dist/build/ditaa-img/ditaa-img somewhere in your $PATH

Usage

Ditaa diagram format in github-flavored markdown:


```ditaa
+-----+    +------+
|hello|--->|world!|
+-----+    +------+
```

DITAA_CMD environment variable defines how Ditaa should be called. INPUT and OUTPUT should be used as placeholders for the file names. If not set, the default value is ditaa INPUT OUTPUT.

Run ditaa-img -h to see command line options.

See also

About

Convert Markdown with Ditaa plain-text diagrams to Markdown with images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published