sbb*_*bbs 3 restructuredtext hyperlink
reStructuredTest 中的超链接如下所示:
\n\nA hyperlink_ is a reference to a data.\n\n.. _hyperlink: https://en.wikipedia.org/wiki/Hyperlink\n这对于像英语这样的语言非常有用,因为每个单词都用空格明确分隔。然而,在其他一些语言中,情况可能并非总是如此。以韩语为例。
\n\n\n\n\n\xed\x95\x98\xec\x9d\xb4\xed\x8d\xbc\xeb\xa7\x81\xed\x81\xac\xeb\x8a\x94 ...(显然,大量的 CJK字符是StackOverflow 中不允许,因此我将删除所有 CJK(除了绝对必要的部分)。
\n
这里,\'\xed\x95\x98\xec\x9d\xb4\xed\x8d\xbc\xeb\xa7\x81\xed\x81\xac\'是一个名词,尾部字符\'\xeb\x8a\ x94\' 是后置词。问题是,如果我尝试使单词 \'\xed\x95\x98\xec\x9d\xb4\xed\x8d\xbc\xeb\xa7\x81\xed\x81\xac\' 成为超链接,我\我有两个选择。
\n\n\xed\x95\x98\xec\x9d\xb4\xed\x8d\xbc\xeb\xa7\x81\xed\x81\xac_ \xeb\x8a\x94 ...这会产生类似的输出
\n\n\n\xed\x95\x98\xec\x9d\xb4\xed\x8d\xbc\xeb\xa7\x81\xed\x81\xac \xeb\x8a\x94 ...
\n
在“超链接”一词后面有一个不需要的空格。
\xed\x95\x98\xec\x9d\xb4\xed\x8d\xbc\xeb\xa7\x81\xed\x81\xac_\xeb\x8a\x94 ...第一个编译器不会将其识别为有效的超链接。我想要一个末尾没有空格的超链接。这可以用 reStructuredText 实现吗?
\n我认为空格可以用反斜杠转义,\\就像 reStructuredText 的其他语法组件(例如下划线_或冒号):)一样。
\xed\x95\x98\xec\x9d\xb4\xed\x8d\xbc\xeb\xa7\x81\xed\x81\xac_\\ \xeb\x8a\x94 \xec\x9e\x90\xeb\xa3\x8c\xeb\xa5\xbc \xea\xb0\x80\xeb\xa6\xac\xed\x82\xac \xec\x88\x98 \xec\x9e\x88\xeb\x8a\x94 \xec\xb0\xb8\xec\xa1\xb0 \xea\xb3\xa0\xeb\xa6\xac\xec\x9d\xb4\xeb\x8b\xa4.\n\n_\xed\x95\x98\xec\x9d\xb4\xed\x8d\xbc\xeb\xa7\x81\xed\x81\xac: https://en.wikipedia.org/wiki/Hyperlink\n这将产生所需的输出。
\n