我在markdown文本文件上有以下一行:

[递归](http://en.wikipedia.org/wiki/Recursion_(computer_science))

呈现后,解析器通过选择第一个右括号而不是第二个右括号来断开链接。

链接的结尾为http://en.wikipedia.org/wiki/Recursion_(computer_science而不是
http://en.wikipedia.org/wiki/Recursion_(computer_science)

如何逃脱第一个右括号?

我尝试使用反斜杠和反引号,但它们不起作用。

最佳答案

我发现了这个问题的详细答案和见解here

这是一个片段1. Bare - http://example.com/test(1).html2. Bare, encoded - http://example.com/test%281%29.html3. Delimited - <http://example.com/test(1).html>4. Hyperlink - with <a href="http://example.com/test(1).html">parens</a>5. Markdown Link #1 - with [parens][1]6. Markdown Link #1 - with [parens at end][2]7. Markdown Link #2 - with [parens](http://example.com/test(1).html)8. Markdown Link #2 - with [parens at end](http://example.com/test(1))

  • Bare-http://example.com/test(1).html
  • 裸露,已编码-http://example.com/test%281%29.html
  • 分隔符号-http://example.com/test(1).html
  • 超链接-带有parens
  • Markdown链接#1-带有parens
  • Markdown链接#1-带有parens at end
  • Markdown链接#2-带有parens
  • Markdown链接#2-带有parens at end
  • 10-07 19:32
    查看更多