Headings & Text Formatting
Basics
Start lines with # for headings, or wrap words in asterisks, tildes, or backticks for inline styling.
| Element | Markdown Syntax | Result |
|---|---|---|
| Heading 1 | # Title | Main page heading |
| Heading 2 | ## Section | Section heading |
| Heading 3 | ### Subsection | Smaller sub-heading |
| Bold | **bold** | Strong bold text |
| Italic | *italic* | Slanted italic text |
| Strikethrough | ~~old~~ | Crossed-out text |
| Inline Code | `const x = 1` | Highlighted code word |