My custom MDX components

Custom MDX components that I use in my blogs

Published on · 1 min read

MDX
Table of Contents

Callout

Cards

Hello, world

Some Custom title

In a card with title

Code blocks

console.log("Hello, world!");
Block without language
wrong-catch.ts
useQuery(["todos"], () => axios .get("/todos") .them((response) => response.data) .catch((error) => { // returns a resolved Promise console.log(error); }) );
something.css
body { color: white; }
something-else.html
<h1>Hello world</h1>

inline code

Aside

This is an aside

Anchor

My Github

HR

Hidden expand

Summary

I'm hidden until expanded

Other articles

Made with ❤️ by aayushmau5