Liking cljdoc? Tell your friends :D

cybermonday.parser


HiccupRepresentablecljprotocol

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-hiccupclj

(to-hiccup this)
sourceraw docstring

map-children-to-hiccupclj/s≠

clj
(map-children-to-hiccup node)
cljs
(map-children-to-hiccup this)
source (clj)source (cljs)

node-tagsclj/s

The default mapping from Flexmark AST node to Hiccup tag

The default mapping from Flexmark AST node to Hiccup tag
source (clj)source (cljs)raw docstring

node-to-tagclj/s≠

(node-to-tag node)
clj

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.
source (clj)source (cljs)raw docstring

optionsclj

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
sourceraw docstring

parserclj/s≠

clj

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
source (clj)source (cljs)raw docstring

(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
sourceraw docstring

to-hiccupcljsmultimethod

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close