My custom MDX components
Custom MDX components that I use in my blogs
Published on February 18, 2022 · 1 min read · 0 reading right now · 1 views
MDX
Callout
This is a callout component.
0
Cards
Random Cards
Third
Fourth
Fifth
Sixth
Hello, world
This is a title
In a card with title
yeah, this might work
man this is (pretty cool) in a way
-
This is an ol
-
This is another ol
-
Hello World
-
Goodbye world
-
Lol
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);
})
);
text.ex
def Hello do
{:ok, System.get("lol")}
end
something.css
body {
color: white;
}
something-else.html
<h1>Hello world</h1>
inline code
Aside
This is an aside
Anchor
HR
Hidden expand
This is markdown
0 likes