Table of Contents
Open Table of Contents
- H1
- H2
- 2. Text Formatting
- 3. Lists
- 4. Links
- 5. Images
- 6. Code Blocks
- 7. Tables
- 8. Blockquotes
- 9. Horizontal Rule
- 10. Details
- 11. Footnotes
- 12. Callouts (Custom MDX Components)
- 13. HTML inside MDX (Allowed)
- 14. Emojis (subtle use)
- 15. Embeds
- 16. Typography & Rhythm
- 17. Definition Lists
- 18. Superscript and Subscript
- 19. Escape Characters
- 20. Line Breaks
- 21. Auto-linked URLs
- 22. Comments
- 23. HTML Entities
1. Headings
H1
H2
H3
H4
H5
H6
2. Text Formatting
Bold
Italic
Bold + Italic
Strikethrough
Inline code
Alt+F4 for secret message
3. Lists
Unordered Lists
- Item 1
- Item 2
- Item 3
- Item 3.1
- Item 3.2
- Item 3.2.1
- Item 3.2.2
Ordered Lists
- Item 1
- Item 2
- Item 3
- Item 3.1
- Item 3.2
- Item 3.2.1
- Item 3.2.2
Task Lists
- Task 1
- Task 2
- Task 3
4. Links
Best website in world ↗
Best website in world ↗
Internal navigation: Go to the headings section
5. Images
6. Code Blocks
Inline
console.log("Hello World")
Block
interface Config {
port: number;
host: string;
}
function createServer(config: Config): void {
console.log(`Starting server on ${config.host}:${config.port}`);
console.log(`🚀 Server running at ${config.host}:${config.port}`);
}app.ts
// Test for overflow and line highlighting
const veryLongVariableNameThatMightBreakTheLayoutOnMobileDevicesIfNotHandledCorrectlyWithOverflowScroll = "test";
7. Tables
| Name | Age |
|---|---|
| A | 20 |
| B | 22 |
| Left Align | Center Align | Right Align |
|---|---|---|
| Short | This is a much longer cell to test wrapping | $100.00 |
8. Blockquotes
This is a quote
Quote
Nested quote
9. Horizontal Rule
10. Details
Click to expand
Hidden content that reveals on interaction. Useful for optional details, code examples, or supplementary information that shouldn’t clutter the main flow.
11. Footnotes
This statement needs a citation1. Here’s another reference2.
12. Callouts (Custom MDX Components)
Notes provide contextual information without interrupting the reading flow.
Tips highlight helpful suggestions or best practices.
Warnings draw attention to potential issues or important caveats.
Informational callouts provide helpful tips or additional context.
13. HTML inside MDX (Allowed)
This is standard HTML rendered inside MDX.
14. Emojis (subtle use)
This is acceptable 🙂
This is not 🚀🔥💯❌
15. Embeds
16. Typography & Rhythm
Abbreviations & Fine Print
The HTML specification is maintained by the W3C. This ensures that tags like
Deep List Nesting (Level 5)
- Level 1
- Level 2
- Level 3
- Level 4
- Level 5
- Level 6
- Level 6
- Level 4
- Level 5
- Level 3
- Level 4
- Level 2
- Level 3
- Level 1
- Level 2
- Level 1: Main Topic
- Level 2: Sub-topic
- Level 3: Detail
- Level 4: Specific point
- Level 5: The “Inception” level - is this still readable?
- Level 5: Another deep point.
- Level 4: Back up one.
- Level 4: Specific point
- Level 3: Back up two.
- Level 3: Detail
- Level 2: Sub-topic
Long Paragraph (Readability & Line Height)
This block tests your line-height and margin-bottom between paragraphs. A good “reading rhythm” usually requires a line-height of 1.5 to 1.7.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.
This statement needs some context This is the explanation that appears on hover. to be understood.
The algorithm has O(n²) complexity which can be problematic Quadratic time complexity means the execution time grows proportionally to the square of the input size. for large datasets.
Mixed Content Density
Testing how a bold phrase followed by a code tag and a Link ↗ looks when crammed into a single line of text to ensure the “line-box” doesn’t jump in height.
Note on Density: Here is a line with Strong Text, Italic Text, inline-code, and a Link ↗ all in one sentence to see if the vertical spacing remains consistent.
17. Definition Lists
- Term 1
- Definition 1
- Term 2
- Definition 2
18. Superscript and Subscript
X^2^ or X2
H2O or H2O
19. Escape Characters
*Not italic* [Not a link]
20. Line Breaks
Line 1 Line 2 (two spaces at end)
Line 1
Line 2 (backslash)
21. Auto-linked URLs
https://www.example.com ↗ (without brackets)
22. Comments
23. HTML Entities
© ® ™ & < > ” ’