7

我在降价文本文件中有以下行:

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

当它被渲染时,解析器通过选择第一个右括号而不是第二个来断开链接。

该链接最终为http://en.wikipedia.org/wiki/Recursion_(computer_science而不是 http://en.wikipedia.org/wiki/Recursion_(computer_science)

如何逃脱第一个右括号?

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

4

1 回答 1

5

我在这里找到了这个问题的详细答案和见解

这是一个片段 1. Bare - http://example.com/test(1).html 2. Bare, encoded - http://example.com/test%281%29.html 3. 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))

  1. 裸 - http://example.com/test(1).html
  2. 裸露,编码 - http://example.com/test%281%29.html
  3. 分隔 - http://example.com/test(1).html
  4. 超链接 - 带括号
  5. Markdown 链接 #1 - 带括号
  6. Markdown Link #1 -结尾有括号
  7. Markdown Link #2 - 带括号
  8. Markdown Link #2 -结尾有括号
于 2014-11-02T11:02:33.407 回答