Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于排版指南中脚注方案的修改建议 #3153

Closed
zier-one opened this issue Jan 23, 2018 · 1 comment
Closed

关于排版指南中脚注方案的修改建议 #3153

zier-one opened this issue Jan 23, 2018 · 1 comment

Comments

@zier-one
Copy link
Contributor

zier-one commented Jan 23, 2018

译文排版规则指北中脚注方案是支持Github的,但是不支持掘金。
原因如下:
markdown中的超链接在Github中被解析为 <a href="xxx">yyy</a>,但是在掘金中被解析为< target="_blank" href="xxx">yyy</a>。因此原脚注方案<sup>[\[1\]](#note1)</sup> 在掘金中会弹出新窗口。
修改建议,该方案同时支持掘金与Github:

这里是修改后的脚注显示方案 <sup><a href="#note1">[1]</a></sup>

1. <a name="note1"></a> [how-to-add-footnotes-to-github-flavoured-markdown](http://stackoverflow.com/questions/25579868/how-to-add-footnotes-to-github-flavoured-markdown)

预览效果如下:

这里是修改后的脚注显示方案 [1]

  1. how-to-add-footnotes-to-github-flavoured-markdown
@leviding
Copy link
Member

leviding commented Jan 24, 2018

@leoppro 很赞,已经修改,详见: http://t.cn/RQ3d9b3 ,那这个 Issue 我先 close 了哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants