Liking cljdoc? Tell your friends :D

cljmd.emphasis.span


appeaseclj

(appease claimed spans)

Retags :run spans as :text, if they cross a claimed span.

Retags :run spans as :text, if they cross a claimed span.
sourceraw docstring

bounds-match?clj

(bounds-match? coll)

Predicate to check tokens against a collection of bounded matches coll.

Predicate to check tokens against a collection of bounded matches coll.
sourceraw docstring

closerclj

(closer marker)

RE to match strings which close emphasis with the given marker.

RE to match strings which close emphasis with the given marker.
sourceraw docstring

delimiter-runclj

(delimiter-run marker)

RE to match delimiter runs of the given marker.

RE to match delimiter runs of the given marker.
sourceraw docstring

demarcateclj

(demarcate spans)

Tags the spans with bounds information.

Tags the spans with bounds information.
sourceraw docstring

from-stringclj

(from-string string claimed)

Parses string into a sequence of spans.

Parses string into a sequence of spans.
sourceraw docstring

innermost-pairsclj

(innermost-pairs spans)

A sequence of pairs included in spans, such that no other pair exists within any of those returned. A couple of spans x and y qualify as a pair if (pair? x y) evaluates to true.

A sequence of pairs included in spans, such that no other pair exists within
any of those returned. A couple of spans x and y qualify as a pair if
(pair? x y) evaluates to true.
sourceraw docstring

openerclj

(opener marker)

RE to match strings which open emphasis with the given marker.

RE to match strings which open emphasis with the given marker.
sourceraw docstring

orientateclj

(orientate spans)

Tags the spans with :left and :right, as appropriate.

Tags the spans with :left and :right, as appropriate.
sourceraw docstring

outermostclj

(outermost string)
(outermost string claimed)

Sequence of outermost emphasis spans within string. Spans are represented by :match, :start and :end keys within a hash.

Sequence of outermost emphasis spans within string. Spans are represented by
:match, :start and :end keys within a hash.
sourceraw docstring

pair?clj

(pair? x y)

True if spans x and y delimit emphasis, false otherwise.

True if spans x and y delimit emphasis, false otherwise.
sourceraw docstring

pairsclj

(pairs spans)
(pairs previous spans)

Set of pairs included in spans.

Set of pairs included in spans.
sourceraw docstring

remove-pairclj

(remove-pair spans [left right])

Removes the pair defined by left and right from the spans pool and updates the bounds information accordingly. If the respective delimiter runs are reduced to zero, then left, right and all intermediate spans are removed from the pool.

Removes the pair defined by left and right from the spans pool and updates
the bounds information accordingly. If the respective delimiter runs are
reduced to zero, then left, right and all intermediate spans are removed
from the pool.
sourceraw docstring

snipclj

(snip string [left right])

Substring of string corresponding to the bounds defined by left and right.

Substring of string corresponding to the bounds defined by left and right.
sourceraw docstring

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

× close