Liking cljdoc? Tell your friends :D

cljmd.block


atx-headingclj

(atx-heading line)
source

belongs-to-blockquote?clj

(belongs-to-blockquote? current previous)
source

belongs-to-list-item?clj

(belongs-to-list-item? current previous)

True if current belongs to LI, assuming:

  1. current is the line in question
  2. previous is a vector of lines already belonging to LI False otherwise.
True if current belongs to LI, assuming:
  1. current is the line in question
  2. previous is a vector of lines already belonging to LI
False otherwise.
sourceraw docstring

blank-lineclj

(blank-line line)
source

blockquote-lineclj

(blockquote-line line)
source

closing-code-fenceclj

(closing-code-fence line)
source

fenced-code-block-pair?clj

(fenced-code-block-pair? x y)

True if lines x and y are matching code block fences, false otherwise.

True if lines x and y are matching code block fences, false otherwise.
sourceraw docstring

html-blockclj

(html-block line)
source

html-block-beginclj

(html-block-begin line)
source

html-block-endclj

(html-block-end line)
source

html-block-pair?clj

(html-block-pair? line1 line2)

Returns true if line1 is the beginning of an HTML block and line2 is the end of an HTML block of the same variant, false otherwise.

Returns true if line1 is the beginning of an HTML block and line2 is the end
of an HTML block of the same variant, false otherwise.
sourceraw docstring

indented-chunk-lineclj

(indented-chunk-line line)
source

indented-for-list-item?clj

(indented-for-list-item? line origin)

Assuming origin is the first line a list item: True if line belongs to the list item, false otherwise. Nil if the assumption doesn't hold.

Assuming origin is the first line a list item:
True if line belongs to the list item, false otherwise.
Nil if the assumption doesn't hold.
sourceraw docstring

level-1-setext-underline?clj

(level-1-setext-underline? line)

True if line is a setext underline producing a <h1>, false otherwise.

True if line is a setext underline producing a <h1>, false otherwise.
sourceraw docstring

(link-reference-definition line)
source

list-item-lead-lineclj

(list-item-lead-line line)
source

list-item-padclj

(list-item-pad origin)

A string consisting of as many spaces as the sum of the number of characters included in the:

  • indentation
  • marker
  • spacing between marker and content of origin, assuming origin is the first line of a line item. Expands tabs. Nil if the assumption doesn't hold.
A string consisting of as many spaces as the sum of the number of characters
included in the:
   * indentation
   * marker
   * spacing between marker and content
of origin, assuming origin is the first line of a line item. Expands tabs.
Nil if the assumption doesn't hold.
sourceraw docstring

opening-code-fenceclj

(opening-code-fence line)
source

paragraph-continuation-text?clj

(paragraph-continuation-text? current previous)

True if all of the following apply:

  1. current is paragraph continuation text
  2. previous is a collection of lines preceding current
  3. previous comprise a paragraph False otherwise. The paragraph may be nested in an arbitrarily deep series of containers.
True if all of the following apply:
  1. current is paragraph continuation text
  2. previous is a collection of lines preceding current
  3. previous comprise a paragraph
False otherwise.
The paragraph may be nested in an arbitrarily deep series of containers.
sourceraw docstring

paragraph-lineclj

(paragraph-line line)
source

setext-headingclj

(setext-heading line)
source

strip-containersclj

(strip-containers line)

Recursively extracts content from list item and blockquote lines until only leaf content remains.

Recursively extracts content from list item and blockquote lines until only
leaf content remains.
sourceraw docstring

taggerclj

(tagger line)
source

thematic-breakclj

(thematic-break line)
source

unindentclj

(unindent line n)

Decreases indentation of line by n columns.

Decreases indentation of line by n columns.
sourceraw docstring

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

× close