Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karthikkrishnadev/f42a12552dd00b1a88aff59bdef9aa63 to your computer and use it in GitHub Desktop.
Save karthikkrishnadev/f42a12552dd00b1a88aff59bdef9aa63 to your computer and use it in GitHub Desktop.
How to escape apostrophe in MD [ can be used in github as well]
For github, like for displaying a mysql `table_name`, in regular text use \` (backslash backtick) - this really works.
For showing backticks inside inline codeblocks `table_name` use double backticks with
extra spaces `` `table_name` `` around the inner single backticks.
To show the previous example explanation in an inline codeblock: `` `table_name` ``,
surround the whole in three backticks with extra spaces,
e.g. ``` `` `table_name` `` ```
Ref : https://meta.stackexchange.com/questions/82718/how-do-i-escape-a-backtick-in-markdown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment