Hacker News new | ask | show | jobs
by SixDouble5321 1699 days ago
OK, but how do I surround a word with asterisks as an example to others without emphasizing the word inside?
2 comments

A backslash before the asterisk makes it appear as an asterisk

\*this\* becomes *this*.

And before you ask, to show the backslash, you add another backslash. \\*this\\* becomes \*this\*

I did not know you could backslash-escape asterisks (TIL! thanks!), so I prepended it with 4 spaces to make a code block.