(dashes text state)
(default-anchor text)
Build a default anchor based on a heading's text content
Build a default anchor based on a heading's text content
(escape-code s)
(escape-code-transformer text state)
(escape-inhibit-separator text state)
(escaped-chars text state)
(freeze-string & args)
Freezes an output string. Converts to a placeholder token and puts that into the output. Returns the [text, state] pair. Adds it into the state, the 'frozen-strings' hashmap So that it can be unfrozen later.
Freezes an output string. Converts to a placeholder token and puts that into the output. Returns the [text, state] pair. Adds it into the state, the 'frozen-strings' hashmap So that it can be unfrozen later.
(gen-token n)
(heading-level text)
(heading-text text)
(hugo-anchor text)
Extract Hugo markdown anchor links from the text
.
See: https://gohugo.io/content-management/cross-references/#heading-ids
Extract Hugo markdown anchor links from the `text`. See: https://gohugo.io/content-management/cross-references/#heading-ids
(inhibit text state)
(make-heading text heading-anchors)
(make-separator separator open close)
(make-separator separator open close transformer)
Return a transformer to
open' and
close' markers, andReturn a transformer to - find all the chunks of the string delimited by the `separator', - wrap the output with the `open' and `close' markers, and - apply the `transformer' to the text inside the chunk.
(open-html-tags open? token-seq)
(separator escape? text open close separator state)
(thaw-string text state)
Recursively replaces the frozen strings in the output with the original text.
Recursively replaces the frozen strings in the output with the original text.
(thaw-strings text state)
Terminally encoded strings are ones that we've determined should no longer be processed or evaluated
Terminally encoded strings are ones that we've determined should no longer be processed or evaluated
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close