Text Formatting Cheatsheet
Basic Emphasis
| Effect | Syntax | Example |
|---|---|---|
| Italic | *text* or _text_ | Italic |
| Bold | **text** or __text__ | Bold |
| Bold Italic | ***text*** | Bold Italic |
Extended Formatting
| Effect | Syntax | Example |
|---|---|---|
| Strikethrough | ~~text~~ | |
| Underline | <u>text</u> | Underline |
| Highlight | ==text== | ==Highlight== |
| Superscript | x^2^ | x^2^ |
| Subscript | H~2~O | H~2~O |
Code Formatting
| Type | Syntax |
|---|---|
| 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