Liking cljdoc? Tell your friends :D

Dynamic Links

You can replace hyperlinks in the template file with dynamic links by using the replaceLink function after a placeholder link in the document:

{%=replaceLink(url)%}

The value of url is not validated, it is converted to string if needed.

The expression replaces the link URL in the hyperlink preceding this expression, therefore, it should be placed immediately after the link, we want to modify.

Can you improve this documentation?Edit on GitHub

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

× close