ndthanhdevaboutprojects
September 14, 2023

Sample MDX File

Sample MDX File

This is a sample MDX file demonstrating various Markdown syntax elements.

Headings

Heading Level 3
Heading Level 4
Heading Level 5
Heading Level 6

Text Formatting

This text is italicized.

This text is bold.

This text is both italicized and bold.

Lists

Unordered List
  • Item 1
  • Item 2
    • Subitem 2.1
    • Subitem 2.2
  • Item 3
Ordered List
  1. First Item
  2. Second Item
  3. Third Item

Links

Link to Google

Images

Alt Text

Blockquotes

This is a blockquote. You can have multiple lines.

Code

Inline code can be written like const variable = 10;.

// This is a code block
function greet(name) {
	console.log(`Hello, ${name}!`);
}

Tables

| Header 1 | Header 2 | | -------- | -------- | | Cell 1,1 | Cell 1,2 | | Cell 2,1 | Cell 2,2 |

Horizontal Rule


Line Breaks

You can use two spaces at the end of a line for a line break.
Like this.

Escaping

You can escape Markdown characters using a backslash: *italic*, **bold**.

Footnotes

Here's a footnote[^1].

[^1]: This is the footnote text.

Math Equations (if supported)

You can write math equations using LaTeX, like $E=mc^2$.

Checkboxes

  • [x] Completed task
  • [ ] Incomplete task

Custom Components (if supported)

typescript

Embedding Videos (if supported)


Copyright © 2025Rev: 1aecc8a5cd629c0ec15a75a18997dd837e0ce7dcBuild: 250128558Mode: prod