(generate-css)(generate-css colorscheme)By default, generate-css uses glow.colorschemes/solarized-dark to figure
out which colors to use. If you want to use a different colorscheme, just
pass in a map in a style akin to that as an optional second argument, e.g.:
{:string :blue :number :green}
By default, generate-css uses `glow.colorschemes/solarized-dark` to figure
out which colors to use. If you want to use a different colorscheme, just
pass in a map in a style akin to that as an optional second argument, e.g.:
{:string :blue
:number :green}(highlight s)(highlight s colorscheme)Given a string of valid Clojure source code, parse it and return a syntax-highlighted string of the same.
By default, highlight uses glow.colorschemes/terminal-default to figure out
which ANSI colors to use. If you want to use a different colorscheme, just
pass in a map in a style akin to that as an optional second argument, e.g.:
{:string :blue :number :green}
Given a string of valid Clojure source code, parse it and return a
syntax-highlighted string of the same.
By default, highlight uses `glow.colorschemes/terminal-default` to figure out
which ANSI colors to use. If you want to use a different colorscheme, just
pass in a map in a style akin to that as an optional second argument, e.g.:
{:string :blue
:number :green}(highlight-html s)Given a string of valid Clojure source code, parse it and return an HTML
document of the same with span classes set. This should be used in tandem
with generate-css.
Given a string of valid Clojure source code, parse it and return an HTML document of the same with span classes set. This should be used in tandem with `generate-css`.
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 |