Unicode in Github markdown

后端 未结 4 854
心在旅途
心在旅途 2020-12-24 05:26

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 w

相关标签:
4条回答
  • 2020-12-24 05:50

    You can use either decimal or hex code point or HTML entity name (if exists) of a unicode character:

    € € €
    

    displays as

    € € €

    0 讨论(0)
  • 2020-12-24 05:56

    This is not the complete answer that OP was asking for, but in case you want emojis for GitHub purposes there is a gist here outlining how to input them. The basic idea is just that you would input :smile: into your markdown and that would produce a smiley face. Other commands are listed in the gist

    0 讨论(0)
  • 2020-12-24 06:03

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

    0 讨论(0)
  • 2020-12-24 06:07

    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.

    0 讨论(0)
提交回复
热议问题