How to add Mac's command special sign into a markdown document using HTML tags?

9

6

I have a markdown document with the following line:

Press CMD+SHIFT+>

In HTML:

Press <kbd>CMD</kbd> + <kbd>SHIFT</kbd> + <kbd>></kbd>

Instead of CMD I want to add the special Mac glyph.

How to do this?

jusepe

Posted 2013-12-31T13:00:17.740

Reputation: 257

Answers

18

You're looking for the PLACE OF INTEREST SIGN, ⌘.

The HTML entity for it is &#8984;.


Note that you can press T to bring up the Character Viewer in most applications (or go to Edit » Special Characters). Here, you can add various characters to your favorite list for later use.

Some examples for characters often used in Mac keyboard shortcuts:

  • ⌥ – Alt / Option
  • ⌃ – Control
  • ⇧ – Shift
  • ⌫ / ⌦ – Backward / Forward delete

slhck

Posted 2013-12-31T13:00:17.740

Reputation: 182 472

Is there a list of these entities? How does this look on a PC? – Shanimal – 2016-01-20T19:36:54.307

1

@Shanimal https://en.wikipedia.org/wiki/List_of_Unicode_characters — the specific rendering depends on your OS, of course.

– slhck – 2016-01-21T10:46:51.073

Thanks, I didn't see ⌘ searching that link, but i found this http://apple.stackexchange.com/questions/55727/where-can-i-find-the-unicode-symbols-for-mac-functional-keys-command-shift-e Hopefully its useful.

– Shanimal – 2016-01-21T17:31:55.253

@Shanimal Ah, I didn't know that with "these entities", you were referring to characters that are primarily used on Macs. Glad you found something! – slhck – 2016-01-22T17:18:39.777

Is there a shortcut for this character other then going into Character Viewer and selecting from there? – janos – 2013-12-31T13:49:29.880

How can I add new various characters into Character Viewer ?.I am using vim editor. The reason is that I do not have this special character in the favourited list and at all there... – jusepe – 2013-12-31T13:55:38.020

Character Viewer can show all characters on your system—you cannot add new ones to it. You can only change your favorites. Click the small preferences sign and make sure to select all lists that you want. You can then search for characters, and if you select one, click the Add to Favorites button on the right. – slhck – 2013-12-31T14:08:22.903