Unicode in Github markdown

笑着哭i 提交于 2019-11-28 19:48:03

问题


I just made a failed attempt to put unicode in Github markdown (in a README.md file) in my project.

I tried this:

(U+262E)

but it was not interpreted as unicode. Is there a way to put unicode characters in Github markdown?


回答1:


I believe the correct answer is to use unicode characters of the following (decimal) form

►
˿
ॠ

the above become:

► ˿ ॠ

Try it for yourself on Github and see. You have to paste the raw character strings, not the unicode symbol itself. It's not about what shows up in your editor, it's what actually displays on github.com.




回答2:


There's no special syntax, just use the character directly... ☮.



来源:https://stackoverflow.com/questions/34538879/unicode-in-github-markdown

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!