Product-minded engineer, designer, and builder
A demonstration of all MDX components available in the portfolio site
This document showcases all the MDX components available in the portfolio site.
MDX supports all heading levels, styled consistently with your theme.
Regular paragraphs like this one are styled with comfortable line height and spacing. You can also use bold text and italic text for emphasis.
Ordered lists:
Unordered lists:
This is a blockquote that can be used to highlight important information or quotes from other sources.
It can span multiple paragraphs for longer quotes.
Our CodeBlock component provides syntax highlighting and a copy button:
// This is a JavaScript function
function greeting(name) {
return `Hello, ${name}!`;
}
// ES6 arrow function
const sum = (a, b) => a + b;
// Using the function
console.log(greeting("World"));
/* CSS example */
.container {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
| Feature | Description | Status |
|---|---|---|
| Typography | Consistent text styling | ✅ |
| Code Blocks | Syntax highlighting with copy button | ✅ |
| Tables | Formatted tables with borders | ✅ |
| Images | Responsive images with captions | ✅ |
| TOC | Auto-generated table of contents | ✅ |
The CustomImage component provides enhanced image display with optional captions:
The SoundCloudEmbed component lets you embed audio tracks:
Tech House Mix
The table of contents is automatically generated from the headings in your document and displayed in the sidebar on larger screens. It provides easy navigation for longer content.
With these MDX components, you can create rich, interactive content that goes beyond what traditional markdown offers. The components handle common formatting needs while providing enhanced features like syntax highlighting and embedded media.