(blockquote-1 text {:keys [eof code codeblock] :as state})Check for blockquotes and signal to blockquote-2 function with states blockquote-start and blockquote-end so that tags can be added. This approach enables lists to be included in blockquotes.
Check for blockquotes and signal to blockquote-2 function with states blockquote-start and blockquote-end so that tags can be added. This approach enables lists to be included in blockquotes.
(blockquote-2 text
              {:keys [blockquote-start blockquote-end blockquote-paragraph
                      lists]
               :as state})Check for change in blockquote states and add start or end tags. Closing a blockquote with a list in it is a bit more complex, as the list is not closed until the following blank line.
Check for change in blockquote states and add start or end tags. Closing a blockquote with a list in it is a bit more complex, as the list is not closed until the following blank line.
(code text
      {:keys [eof indent-code-end next-line lists code codeblock paragraph]
       :as state})(codeblock text
           {:keys [codeblock-no-escape? codeblock-buf codeblock-lang
                   codeblock-callback codeblock codeblock-end indented-code
                   next-line lists]
            :as state})(flatten-metadata metadata)Given a list of maps which contain a single key/value, flatten them all into a single map with all the leading spaces removed. If an empty list is provided then return nil.
Given a list of maps which contain a single key/value, flatten them all into a single map with all the leading spaces removed. If an empty list is provided then return nil.
(open-paragraph text
                {:keys [eof heading inline-heading temp hr code lists blockquote
                        paragraph last-line-empty?]
                 :as state})(parse-metadata-headers lines-seq)Given a sequence of lines from a markdown document, attempt to parse a metadata header if it exists. Accepts wiki, yaml, and edn formats.
Returns the parsed headers number of lines the metadata spans
Given a sequence of lines from a markdown document, attempt to parse a metadata header if it exists. Accepts wiki, yaml, and edn formats. Returns the parsed headers number of lines the metadata spans
(parse-metadata-line line)Given a line of metadata header text return either a list containing a parsed and normalizd key and the original text of the value, or if no header is found (this is a continuation or new value from a pervious header key) simply return the text. If a blank or invalid line is found return nil.
Given a line of metadata header text return either a list containing a parsed and normalizd key and the original text of the value, or if no header is found (this is a continuation or new value from a pervious header key) simply return the text. If a blank or invalid line is found return nil.
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 |