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
Table of Contents

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

  1. Hello World

  2. Goodbye world

  3. 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

My Github

HR

Hidden expand

Summary

Hidden until expanded

More lines With markdown

  • let's see

  • if this works

This is markdown

0 likes

Comments

1 online · 0 visits
Nothing playing at the moment

Theme: