Thanks for the bug report!
I confirmed that this is a bug in marked, and works fine in CommonMark.
@Feder1co5oave wasn't #1135 supposed to fix this?
Is this relative to master? I don't think that pr was released yet?
It should support up to one level of nested, balanced parenthesis, yes.
That demo uses the latest released version, the bug is fixed in master:
$ bin/marked
[wd](https://aaa.com/(wd))
[demo](https://wiki.archlinux.org/index.php/Samba_(ç®€ä½“ä¸æ–‡)#.E6.B7.BB.E5.8A.A0.E7.94.A8.E6.88.B7)
<p><a href="https://aaa.com/(wd)">wd</a></p>
<p><a href="https://wiki.archlinux.org/index.php/Samba_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)#.E6.B7.BB.E5.8A.A0.E7.94.A8.E6.88.B7">demo</a></p>
Please make sure the bug is still there before confirming it.
I confirmed this is fixed in master and will be released in 0.4.0
Most helpful comment
Is this relative to master? I don't think that pr was released yet?
It should support up to one level of nested, balanced parenthesis, yes.