strange link creation in md file · Issue #39 · borkdude/quickdoc (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
When I defined a function (macro in this case) as follows, I get strongly rendered md output.
(defmacro +and
"Logical AND of heavy-bools which evaluates to a heavy-bool
.
Expands to code which evaluates to the left-most heavy-bool
value
in the argument list, otherwise evaluates to the right-most
value. If the argument list is empty, evaluates explicitly to
+true
"
[& rest]
(case (count rest)
(0) +true
(1) (first rest)
(let [v (gensym)
[head & tail] rest]
`(let [~v ~head]
(+if ~v
(+and ~@tail)
~v)))))
I'm tagging a commit of my git repository which demonstrates the problem.
https://github.com/jimka2001/heavybool/blob/quickdoc-issue-39/clojure/API.md#and