MDX Components Demo
Demonstration of all available MDX components in the new theme
MDX Components Demo
This article demonstrates all the beautiful MDX components available in QE Hub's new design system.
Alerts and Callouts
Information
This is an informational alert. Use it to highlight important information that users should be aware of.
Warning
This is a warning alert. Use it for cautionary information that requires attention.
Success
This is a success alert. Use it to confirm successful operations or positive outcomes.
Danger
This is a danger alert. Use it for critical issues or errors that need immediate attention.
Cards
Quick Start
Get started with QE Hub in minutes
API Reference
Comprehensive API documentation
Best Practices
Learn industry best practices
Badges
Here are some example badges:
Featured Active Beta Deprecated DefaultCode Blocks
Here's an example of syntax-highlighted code:
// Example API testing code
async function testAPI() {
const response = await fetch('https://api.example.com/users');
const data = await response.json();
console.log('API Response:', data);
// Assertions
expect(response.status).toBe(200);
expect(data).toHaveLength(10);
}
testAPI();And here's a Python example:
import requests
def test_api():
"""Test API endpoint"""
response = requests.get('https://api.example.com/users')
data = response.json()
assert response.status_code == 200
assert len(data) == 10
print(f"Found {len(data)} users")
test_api()Links
Internal links: Browse Articles
External links automatically get an icon: Google
Anchor links: Jump to Code Blocks
Images
GitHub Card
Quality Engineering Learning Platform
YouTube Embed
Tech Icons
Tweet Card
Just launched our new design system! 🎨 Check out the beautiful MDX components and improved theme. Perfect for documentation and technical content.
2 hours ago
Inline Code
Use backticks for inline code like npm install or const example = "value".
Lists
Unordered List
- First item
- Second item
- Third item with bold text
- Fourth item with italic text
Ordered List
- Step one
- Step two
- Step three
- Step four
Blockquotes
This is a blockquote. Use it to highlight quotes, testimonials, or important excerpts.
— Source Author
Tables
| Command | Description | Example |
|---|---|---|
npm install | Install dependencies | npm install express |
npm test | Run tests | npm test --coverage |
npm run build | Build project | npm run build |
npm start | Start server | npm start |
Summary
This demonstrates the complete set of MDX components available in QE Hub. All components are:
- ✅ Theme-aware (work in light and dark modes)
- ✅ Accessible (WCAG compliant)
- ✅ Responsive (mobile-friendly)
- ✅ Customizable (via props and CSS variables)
Ready to use these components in your own articles? Check out the Theme Documentation for detailed usage instructions!
Comments (0)
Loading comments...