strange link creation in md file · Issue #39 · borkdude/quickdoc (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@jimka2001

Description

@jimka2001

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

screenshot_2024-07-04_at_11 48 45_720

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