Provides the protocol for (to-hiccup)
method. Dispatches on AST node type
Provides the protocol for `(to-hiccup)` method. Dispatches on AST node type
(to-hiccup this _)
The default mapping from Flexmark AST node to Hiccup tag
The default mapping from Flexmark AST node to Hiccup tag
(node-to-tag node)
Gets the default tag for this node
or throws an error if we encounter a node we aren't handling.
Gets the default tag for this `node` or throws an error if we encounter a node we aren't handling.
The default options for the Flexmark parser There shouldn't be a reason to change this
The default options for the Flexmark parser There shouldn't be a reason to change this
The instance of the Flexmark parser.
Can be called like (.parse parser document-string)
to yeild a document
Flexmark parse object
The instance of the Flexmark parser. Can be called like `(.parse parser document-string)` to yeild a `document` Flexmark parse object
(print-ast document)
Utility function to print the AST. Consumes the document
from the parser
Utility function to print the AST. Consumes the `document` from the parser
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close