This small application converts Markdown files to Mind maps.
It is written in Clojure and uses:
- Cybermonday to convert markdown text to a hiccup AST.
- PlantUML to create the images.
The two main objectives for this app are:
- quick and easy production of PNG images;
- use any independant markdown document as source. The hiccup AST provided by Cybermonday enables the processing and filtering of markdown elements.
FIXME: explanation
Download from https://github.com/obarbeau/markdown2mindmap
FIXME: update this part
This project uses the seancorfield/build-clj
library and build.clj
file.
Use clj -T:dev:build <task-name>
for all these tasks.
Run the application: see usage
Run the project's tests (this will generate test images in the output directory):
clojure -T:dev:build test
Génerate the project's documentation:
clojure -T:dev:build codox
Run the project's CI pipeline and build an uberjar:
clojure -T:dev:build ci
This will produce an updated pom.xml
file with synchronized dependencies inside the META-INF
directory inside target/classes
and the uberjar in target
. You can update the version (and SCM tag)
information in generated pom.xml
by updating build.clj
.
If you don't want the pom.xml
file in your project, you can remove it. The ci
task will
still generate a minimal pom.xml
as part of the uber
task, unless you remove version
from build.clj
.
Run that uberjar:
java -jar target/markdown2mindmap-0.1.0-SNAPSHOT.jar
If you remove version
from build.clj
, the uberjar will become target/markdown2mindmap-standalone.jar
.
FIXME: listing of options this app accepts.
...
- allows nested text modifiers
Copyright © 2021 Olivier Barbeau
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.