Liking cljdoc? Tell your friends :D

diction.documentation


->anchorclj

(->anchor x)

Converts x to anchor name.

Converts `x` to anchor name.
sourceraw docstring

->hiccupclj

(->hiccup)
(->hiccup ctx)
(->hiccup filter-f ctx)

Generate existing data dictionary into hiccup vectors with optional context ctx. Context ctx keys:

  • header : HTML string with header tags; freeform HTML
  • title : Title string of the generated HTML page HEAD and top header of HTML
  • stylesheet : CSS link
  • style : raw CSS text
  • suppress-style : if true, will suppress default CSS
  • start-body : HTML string with tags at the top of the BODY tag; freeform HTML
  • end-body : HTML string with tags at the bottom of the BODY tag; freeform HTML
Generate existing data dictionary into hiccup vectors with optional context `ctx`.
Context `ctx` keys:
- `header` : HTML string with header tags; freeform HTML
- `title` : Title string of the generated HTML page HEAD and top header of HTML
- `stylesheet` : CSS link
- `style` : raw CSS text
- `suppress-style` : if `true`, will suppress default CSS
- `start-body` : HTML string with tags at the top of the BODY tag; freeform HTML
- `end-body` : HTML string with tags at the bottom of the BODY tag; freeform HTML
sourceraw docstring

->htmlclj

(->html)
(->html ctx)
(->html filter-f ctx)

Generate existing data dictionary into HTML string with optional context ctx. Context ctx keys:

  • header : HTML string with header tags; freeform HTML
  • title : Title string of the generated HTML page HEAD and top header of HTML
  • stylesheet : CSS link
  • style : raw CSS text
  • suppress-style : if true, will suppress default CSS
  • start-body : HTML string with tags at the top of the BODY tag; freeform HTML
  • end-body : HTML string with tags at the bottom of the BODY tag; freeform HTML
Generate existing data dictionary into HTML string with optional context `ctx`.
Context `ctx` keys:
- `header` : HTML string with header tags; freeform HTML
- `title` : Title string of the generated HTML page HEAD and top header of HTML
- `stylesheet` : CSS link
- `style` : raw CSS text
- `suppress-style` : if `true`, will suppress default CSS
- `start-body` : HTML string with tags at the top of the BODY tag; freeform HTML
- `end-body` : HTML string with tags at the bottom of the BODY tag; freeform HTML
sourceraw docstring

->markdownclj

(->markdown)
(->markdown title)
(->markdown filter-f title)

Convert existing data dictionary into markdown with optional title.

Convert existing data dictionary into markdown with optional `title`.
sourceraw docstring

->markdown-elementsclj

(->markdown-elements elems body title)

Generate markdown elements elems given existing string body and title of the section.

Generate markdown elements `elems` given existing string `body` and
`title` of the section.
sourceraw docstring

->strclj

(->str x)

Converts x to string.

Converts `x` to string.
sourceraw docstring

bulletclj

source

bullet-lineclj

(bullet-line acc level s)

Generates a bullet line by concatenating a line to the acc accumulator string with indentions to the appropriate level and the line string s.

Generates a bullet line by concatenating a line to the `acc` accumulator
string with indentions to the appropriate `level` and the line string `s`.
sourceraw docstring

source

decorate-valueclj

(decorate-value v)
(decorate-value vf v)

Decorate value v. Currently passes through maps, but comma-delimits collections.

Decorate value `v`.  Currently passes through maps, but comma-delimits collections.
sourceraw docstring

default-cssclj

source

doc-valueclj

(doc-value x)

Wrap value x with double-quotes if x is string.

Wrap value `x` with double-quotes if `x` is string.
sourceraw docstring

document-children-element-idsclj

(document-children-element-ids element-info)

Retrieves children element ids from element-info.

Retrieves children element ids from `element-info`.
sourceraw docstring

document-element-keysclj

source

element-bulletclj

(element-bullet k v)
(element-bullet ref-ks k v)

Generate element bullet for key k and value v and optional set ref-ks that add local link refs if key k in ref-ks.

Generate element bullet for key `k` and value `v` and optional set `ref-ks`
that add local link refs if key `k` in `ref-ks`.
sourceraw docstring

element-bullet-legacyclj

(element-bullet-legacy k v)
(element-bullet-legacy ref-ks k v)

Generate element bullet for key k and value v and optional set ref-ks that add local link refs if key k in ref-ks.

Generate element bullet for key `k` and value `v` and optional set `ref-ks`
that add local link refs if key `k` in `ref-ks`.
sourceraw docstring

exclude-element-fieldsclj

source

generate-allclj

(generate-all element-id)

Generates an element element-id with forced sensible-values to true and generate-all-fields to true.

Generates an element `element-id` with forced `sensible-values` to `true`
and `generate-all-fields` to `true`.
sourceraw docstring

indentclj

(indent n)

Generates spaces for indenting line to level n.

Generates spaces for indenting line to level `n`.
sourceraw docstring

index->markdownclj

(index->markdown fields)

Generate index markdown using data dictionary fields.

Generate index markdown using data dictionary `fields`.
sourceraw docstring

index-bulletclj

(index-bullet id)
(index-bullet id lbl)

Generate index bullet for key id and optional label lbl.

Generate index bullet for key `id` and optional label `lbl`.
sourceraw docstring

kv-sepclj

source

(local-link x)
source

map->markdownclj

(map->markdown m)
(map->markdown level m)

Convert meta meta for element id with optional level.

Convert meta `meta` for element `id` with optional `level`.
sourceraw docstring

reference-keysclj

source

spacesclj

source

spacingclj

source

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

× close