(->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 HTMLtitle
: Title string of the generated HTML page HEAD and top header of HTMLstylesheet
: CSS linkstyle
: raw CSS textsuppress-style
: if true
, will suppress default CSSstart-body
: HTML string with tags at the top of the BODY tag; freeform HTMLend-body
: HTML string with tags at the bottom of the BODY tag; freeform HTMLGenerate 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
(->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 HTMLtitle
: Title string of the generated HTML page HEAD and top header of HTMLstylesheet
: CSS linkstyle
: raw CSS textsuppress-style
: if true
, will suppress default CSSstart-body
: HTML string with tags at the top of the BODY tag; freeform HTMLend-body
: HTML string with tags at the bottom of the BODY tag; freeform HTMLGenerate 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
(->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`.
(->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.
(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`.
(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.
(doc-value x)
Wrap value x
with double-quotes if x
is string.
Wrap value `x` with double-quotes if `x` is string.
(document-children-element-ids element-info)
Retrieves children element ids from element-info
.
Retrieves children element ids from `element-info`.
(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`.
(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`.
(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`.
(indent n)
Generates spaces for indenting line to level n
.
Generates spaces for indenting line to level `n`.
(index->markdown fields)
Generate index markdown using data dictionary fields
.
Generate index markdown using data dictionary `fields`.
(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`.
(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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close