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 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 |