A single top level function for parsing markdown is provided as parse-md
. This
function yields a map with :frontmatter
and :body
where the frontmatter is
the (possibly nil) parsed YAML metadata from the file and the body is the HTML
hiccup.
To customize the parsing, see the AST transformations. The lowering step is done through a multimethod, for which the cybermonday IR nodes can be individually customized.
There is currently rudimentary support for ClojureScript using excellent remark JS library. As of this release, the published build only works with shadow-cljs. I'm going to focus trying to make it all work with other tools as well using CLJSJS, but I've always found that to be difficult, and you're better off using shadow anyway.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close