Liking cljdoc? Tell your friends :D

autoclave.markdown

Wraps the PegDown library.

Wraps the PegDown library.
raw docstring

add-attribsclj

(add-attribs rendering attributes)

Adds multiple attributes to- and returns the LinkRenderer$Rendering instance.

Adds multiple attributes to- and returns the LinkRenderer$Rendering instance.
raw docstring

attributeclj

(attribute name value)

Attribute constructor.

Attribute constructor.
raw docstring

default-handlersclj

Default LinkRenderer handlers map; Custom handlers can be passed into the link-renderer func where they will be merged with these.

Default LinkRenderer handlers map; Custom handlers can be passed into the 
link-renderer func where they will be merged with these.
raw docstring

encodeclj

(encode value)

Returns an encoded attribute value, as used by Pegdown.

Returns an encoded attribute value, as used by Pegdown.
raw docstring

encode-urlclj

(encode-url url)

Returns an encoded URL, as ued by Pegdown.

Returns an encoded URL, as ued by Pegdown.
raw docstring

extensionsclj


(link-renderer handlers)

Returns a Pegdown LinkRenderer$Rendering instance, which holds the actual properties of the link as it is going to be rendered. To use custom link renderers, pass in a custom handlers map formatted like like the default-handlers map (the two maps will be merged together).

Returns a Pegdown LinkRenderer$Rendering instance, 
which holds the actual properties of the link as it is going to be rendered.
To use custom link renderers, pass in a custom handlers map formatted like 
like the default-handlers map (the two maps will be merged together).
raw docstring

obfuscateclj

(obfuscate email)

Returns an obfuscated email address, as used by Pegdown.

Returns an obfuscated email address, as used by Pegdown.
raw docstring

processorclj

(processor)
(processor & exts)

Returns a function that produeces PegDownProcessor instances with the given extensions enabled.

Returns a function that produeces PegDownProcessor instances with the given
extensions enabled.
raw docstring

renderingclj

(rendering handler node args)

Builds and returns Pegdown LinkRenderer. Rendering instance for the node type; args and attributes are set in the node-type's handler. Sets multiple link tag attributes if name/value pairs are supplied in the node handler's attributes vector.

Builds and returns Pegdown LinkRenderer. Rendering instance for the node type; 
args and attributes are set in the node-type's handler. Sets multiple link tag 
attributes if name/value pairs are supplied in the node handler's attributes vector.
raw docstring

select-handlerclj

(select-handler node handlers)

Returns the default handler func for the node type.

Returns the default handler func for the node type.
raw docstring

to-htmlclj

(to-html md)
(to-html processor md)
(to-html processor link-renderer md)

Render a string of Markdown to HTML, optionally using the provided PegDownProcessor and LinkRenderer.

Render a string of Markdown to HTML, optionally using the provided
PegDownProcessor and LinkRenderer.
raw docstring

wiki-urlclj

(wiki-url node)

with-attributeclj

(with-attribute rendering attribute)
(with-attribute rendering name value)

Adds attribute to the LinkRenderer$Rendering instance.

Adds attribute to the LinkRenderer$Rendering instance.
raw docstring

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

× close