Macros parameters does not expand in version 2.0.1

I was exploring macros for my work, but when I tried example macro def in config.edn

 :macros {
          "poem" "Rose is $1, violet's $2. Life's ordered: Org assists you."
          }

then

{{poem "one, two"}}

gets expanded to

Rose is $1, violet's $2. Life's ordered: Org assists you.

and both $1,$2 does not get expanded.

Any help on this is appreciated

  • I confirm that macros are broken in version 2.0.1
  • The console logs "Config err" in mldoc.cljc
    • This is most probably a bug.
      • Consider reporting it.
1 Like

This bug should be fixed by this PR fix: expand block macro arguments by tiensonqin · Pull Request #13116 · logseq/logseq · GitHub , now we just have to wait for a new release

1 Like