Create mermaid images.
Proxy to mermaid cli
Create mermaid images. Proxy to [mermaid cli](https://www.npmjs.com/package/@mermaid-js/mermaid-cli)
(build-mermaid-image-cmd mermaid-filename image-extension user-id group-id)
Returns a map with
cmd
a command to turn mermaid-filename
into an image with extension image-extension
.target-path
the name of the image generated.Returns a map with * `cmd` a command to turn `mermaid-filename` into an image with extension `image-extension`. * and `target-path` the name of the image generated.
(files-to-recompile mermaid-files image-extension)
List files that need to be recompiled, i.e. the one existing and which image is older than the last update of the source.
List files that need to be recompiled, i.e. the one existing and which image is older than the last update of the source.
(ls-mermaid app-dir)
List all mermaid files searched recursively in app-dir
.
List all mermaid files searched recursively in `app-dir`.
(mermaid-build-image-cmd mermaid-filepath user-id group-id target-dir)
Command to transform mermaid-filepath
into an image -a png- into the target-dir
.
user-id
and group-id
are necessary to execute the command.
Command to transform `mermaid-filepath` into an image -a png- into the `target-dir`. `user-id` and `group-id` are necessary to execute the command.
(mermaid-pull-cli-cmd)
Command to install the mermaid cli.
Command to install the mermaid cli.
(need-to-update? file-in file-out)
Returns true if file-in
needed to be modified, compared to file-out
.
Returns true if `file-in` needed to be modified, compared to `file-out`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close