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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |