-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Added a example of footnote #567
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
Conversation
<small> | ||
<div id="译者注">__译者注__</div> | ||
[1] truthy 不是 `true`,详见 [MDN](https://developer.mozilla.org/zh-CN/docs/Glossary/Truthy) 的解释。 | ||
</small> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好处是方便多处共享注释,但是可能还是不如 inline 的方式简单……页面能加 JS 么,比如搞个浮层来显示注释之类的……
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我担心搞得太复杂之后跟网站本身的设计耦合过多。目前的写法的复杂度已经是我可以忍受的上限了😞
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这种写法本身我觉得没啥问题。
有截图能看下效果吗 |
嗯看上去不错
…On Fri, Oct 20, 2017, 10:30 PM 勾三股四 ***@***.***> wrote:
This is the footnote marker in the content:
[image: 2017-10-21 10 26 17]
<https://user-images.githubusercontent.com/206848/31847181-af95ec16-b64a-11e7-9263-ad01c3a0dff4.png>
And this is the footnote in the bottom:
[image: 2017-10-21 10 26 29]
<https://user-images.githubusercontent.com/206848/31847182-b0c0ca5c-b64a-11e7-8e5c-8d52bed05dbf.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#567 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAefXqfJmkp3rqB2bK0wir-mqk_ZUjxRks5suVdggaJpZM4P61_i>
.
|
OK,那接下来需要加译注的地方就先按这个方式来吧,正好最近在整理翻译注意事项,一块加进去放到一个对贡献者来说醒目的位置。 |
@Jinjiang 点链接跳到脚注以后有办法返回去么? |
没有了,因为注脚可能被重复引用,只能用浏览器的后退按钮回退。 |
原生返回能用的话感觉也行吧。 |
把译者注的写法更新到了 wiki:https://github.com/vuejs/cn.vuejs.org/wiki |
试着写了一个 footnote 的例子,用来放译者注。看看这种写法是否可接受。
(hexo markdown 不支持
[^footnote]
的写法,所以代码有点“恶心”)