This is a test project to exercise various cljdoc features and formatting.
It should be extended as the cljdoc community sees fit.
| Run | To |
|---|---|
| bin/release | to build and deploy to clojars |
| bin/prep_release | to prep for release only, run this for local testing |
Version scheme is defined in bin\generate_version
Let's link to an image in a subdir with markdown syntax:

And again with html syntax:
cljdoc recognizes clj, clojure and cljs language identifiers. From a formatting perspective they are all equivalent. Here we've specified cljs as our language:
(def v *clojurescript-version*)
(js/alert (str "Hello from ClojureScript v" v))
If we specify a language of clojure-repl we get repl-smart formatting:
user=> (+ 1 2 3 4)
10
user=> (* 1 2 3 4)
24
user=> (- 1 2 3 4)
-8
CommonMark is also supported in docstrings, have a look at cljdoc-exerciser namespace on cljdoc.org for some more examples.
Can you improve this documentation?Edit on GitHub
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 |