Skip to content

Text Formatting Cheatsheet

Basic Emphasis

EffectSyntaxExample
Italic*text* or _text_Italic
Bold**text** or __text__Bold
Bold Italic***text***Bold Italic

Extended Formatting

EffectSyntaxExample
Strikethrough~~text~~Strikethrough
Underline<u>text</u>Underline
Highlight==text====Highlight==
Superscriptx^2^x^2^
SubscriptH~2~OH~2~O

Code Formatting

TypeSyntax
Inline code`code`
Code block```language
Keyboard key<kbd>Ctrl</kbd>

Escaping Characters

Use backslash \ to escape special characters:

markdown
\* \_ \\ \` \{ \} \[ \] \( \) \# \+ \- \. \!

Best Practices

  • ✅ Keep formatting consistent
  • ✅ Use emphasis appropriately
  • ✅ Use monospace font for code
  • ❌ Avoid over-formatting
  • ❌ Do not nest the same type of formatting

Built by www.markdownlang.com