Hello, world!

Typography and design system of this site

3 min read

Personal, test, multiple-tags


MDX Component Showcase

This post demonstrates all the available components and styling options in the afterthoughts section.

Typography

Headings

You can use headings from H1 to H6. The H1 is usually reserved for the post title.

Emphasis and Styling

You can make text bold, italic, or both. You can also add inline code snippets.

Lists

Unordered Lists

Ordered Lists

  1. First step
  2. Second step
  3. Third step

Links

You can add external links or internal links to other posts.

Callouts

This is an info callout. Use it to highlight important information!

Success! This callout is perfect for positive messages and achievements.

Warning! Use this to alert readers about potential issues or things to watch out for.

Error! This callout is for critical information or things that went wrong.

This is the default callout style for general notes and asides.

Quotes

The only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle.

Steve Jobs

Code Blocks

With Syntax Highlighting

example.tsx
tsx
1
import React from 'react';
2
3
export default function Component() {
4
const [count, setCount] = React.useState(0);
5
6
return (
7
<div>
8
<h1>Count: {count}</h1>
9
<button onClick={() => setCount(count + 1)}>
10
Increment
11
</button>
12
</div>
13
);
14
}

Standard Code Blocks

console.log("This is a standard code block");
const greeting = "Hello, world!";

Images

Demo image description
This is a beautiful image with a caption below it

Video Embeds

Horizontal Rules

Use horizontal rules to separate sections:


Tables

| Feature | Supported | Notes | |---------|-----------|-------| | Typography | ✅ | Full markdown support | | Code Blocks | ✅ | With syntax highlighting | | Images | ✅ | With captions | | Videos | ✅ | YouTube and Vimeo |

Conclusion

This showcase demonstrates all the components available for creating rich, engaging afterthoughts posts. Mix and match these elements to create compelling content!

I am heading two

I am heading three

I am heading four

I am heading five
And, I am heading six

I am just a normal paragraph, but you must have figured this out by now. It can be bold or italic.

You can add inline code as well. It cannot highlight syntax based on language yet.


You can have code blocks as well.

app.tsx
ts
1
const a = 10;
2
const b = 10;
3
4
console.log(a + b);

Huge shoutout to React Code Block by Akash for this.

You can also have normal code with pre tag like this. I am working on it's implementation though.

console.log("grainy background on code snippets look weied tho ngl");

Oh, btw, these are links.


You can add quotes as well. I am not sure when I'll use this... but better than plagarism i guess.

Hope is the weapon, survival is the victory
Dunkirk (2017)

And now something intersting... Callouts

This is default callout
This is informative callout
This is successful callout
This is error callout
This is warning callout

  1. Numbered lists
  2. are
  3. used
  4. when ther's a sequence
  5. that must be kept, or be followed
  6. or the reader must be made aware of it
  7. while reading it

On the other hand,