Leon Starr
Leon Starr

Reputation: 522

How do you escape the trademark or copyright symbol in markdown?

With markdown I want to say something like:

The parser consumes a .tm file.

But (in my GitHub readme.md markdown file) and also using Markdown Pro on my mac, markdown wants to make the tm a superscripted TM trademark symbol. I've tried backslashes in various locations .\tm, .\t\m, .(tm), etc. but I just end up with the slashes in the output text. Does anyone know how this is supposed to work?

As I type this I can see that stackoverflow is using markdown and I'm not getting that behavior! Whuuhh? Insight appreciated!

Upvotes: 10

Views: 19428

Answers (4)

Ian
Ian

Reputation: 2640

You can use html in Markdown:

  • Trademark: ™
  • Copyright: ©

The Markdown-specific versions are:

  • Trademark: :tm:
  • Copyright: :copyright:

If you use Typora editor, you can type : and start typing what you think the shortcut name might be and it gives you a dropdown list of options.

Upvotes: 3

stevec
stevec

Reputation: 52877

For anyone arriving here wondering how to make a TM (trademark) symbol in their github flavored markdown (or github README.me), it's as simple as:

:tm:

enter image description here

I found it from this comprehensive list

Upvotes: 14

Leon Starr
Leon Starr

Reputation: 522

Problem solved. Turns out it's got nothing to do with markdown. Mac OS X has a text replacement feature that makes the TM symbol automatically. Edit->Substitutions->Text Replacement

Upvotes: 5

Matt Ball
Matt Ball

Reputation: 360016

How 'bout backticks?

The parser consumes a `.tm` file.

Upvotes: 1

Related Questions