My Awesome MDX Document
Welcome to this comprehensive demonstration of MDX capabilities! This document covers everything from basic text formatting to complex tables and even some JSX components.
Text Formatting
Let’s start with the basics:
- Bold Text: Use
**bold text**
or__bold text__
. - Italic Text: Use
*italic text*
or_italic text_
. - Bold and Italic: Use
***bold and italic***
. Strikethrough:Use~~strikethrough~~
.Inline Code:
Use`inline code`
.
Lists
Unordered Lists
- Item 1
- Item 2
- Item 3
Ordered Lists
- First item
- Second item
- Third item
Nested Lists
- Item 1
- Sub-item 1
- Sub-item 2
- Item 2
- Sub-item A
- Sub-item B
Links and Images
Here’s a link to Google .
Blockquotes
This is a blockquote. It can span multiple lines and is useful for highlighting important information or quoting someone.
Code Blocks
function helloWorld() {
console.log("Hello, world!");
}
helloWorld();
print("Hello, world!")
Horizontal Rule
Tables
Header 1 | Header 2 | Header 3 |
---|---|---|
Cell 1 | Cell 2 | Cell 3 |
Cell 4 | Cell 5 | Cell 6 |
Headings
Heading 3
Heading 4
Heading 5
Heading 6
MDX Components (Example)
Feel free to add JSX components here. For example:
function MyComponent() {
return (
<div>
<h2>Hello from JSX!</h2>
<p>This is a simple React component.</p>
</div>
);
}
<MyComponent />
Task Lists
- Task 1 (completed)
- Task 2 (incomplete)
Emojis
I love using emojis! 🎉 😄 ✨
Definition Lists
Markdown : A lightweight markup language.
MDX : Markdown + JSX = ❤️
Footnotes
Here is a footnote1.
Conclusion
This document should give you a good overview of the various Markdown and MDX features you can use. Experiment and have fun!
Footnotes
-
This is the footnote content. ↩