未提及unicode字符的内容表

问题描述 投票:0回答:1

我有以下标题。

##A Title with icon ✏

我想在目录中引用它,但下面的内容不能用。

- [A Title with icon ✏](#a-title-with-icon-✏)

把摘要中的图标去掉也可以,但如何实现链接?

markdown github-flavored-markdown
1个回答
1
投票

要链接以下标题(注意哈希后的空格)。

## A Title with icon ✏

忽略Unicode字符即可(注意后面的连字符)。

- [A Title with icon ✏](#a-title-with-icon-)

P.S:在GitHub和BitBucket上测试过,工作正常。

© www.soinside.com 2019 - 2024. All rights reserved.