checklist
This commit is contained in:
parent
7a01383739
commit
2c515b8e5c
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
title: 'New blog site'
|
||||
title: 'New blog website'
|
||||
description: 'A little post about the new site.'
|
||||
pubDate: 'Jan 15 2022'
|
||||
---
|
||||
|
||||
Hello readers, this is the first article on my new site! I'll be showcasing some of its features here! The source code for it can be found [here](https://git.inamatrix.xyz/array-in-a-matrix/bloginamatrix.xyz).
|
||||
|
||||
## Technologies
|
||||
|
@ -34,6 +33,11 @@ A lot of heavy lifting is done using [Unified](https://github.com/unifiedjs) and
|
|||
|
||||
You have seen some throughout the article but did you know <mark>this text is highlighted</mark>? Did you know that <sup>this is superscripted</sup> and <sub>this is subscripted</sub>? <sub><sup>What about both</sup></sub>?
|
||||
|
||||
To do:
|
||||
- [ ] Do this thing
|
||||
- [ ] Do that thing
|
||||
- [x] procrastinate
|
||||
|
||||
> There is a list! - 💩
|
||||
|
||||
+ Days of the Week
|
||||
|
@ -57,7 +61,53 @@ Can't wait to put food on the table.
|
|||
| 🍑 | 🌭 | 🧀 |
|
||||
| 🍉 | 🏖️🧙 | 🧀 |
|
||||
|
||||
This document is actually MDX not pure Markdown.
|
||||
This document actually MDX not pure Markdown so we can do things like this:
|
||||
|
||||
<script>
|
||||
function inc()
|
||||
</script>
|
||||
<a onclick="alert('')">
|
||||
Embedded component in MDX
|
||||
</a>
|
||||
|
||||
#### KaTeX
|
||||
|
||||
Markdown renders that can not render mathematical equations suck because you are then forced to either create an image or write the equation using special unicodes.
|
||||
|
||||
Time-dependent Schrödinger equation:
|
||||
$$
|
||||
i \hbar \frac{\partial}{\partial t} \ket{\Psi(t)} = \hat H \ket{\Psi(t)}
|
||||
$$
|
||||
|
||||
$\mathcal{L}$aplace Transform:
|
||||
$$
|
||||
\mathcal{L}\{f(t)\}=\int_{t=0}^{\infty}f(t)e^{-st}dt
|
||||
$$
|
||||
|
||||
A simple square matrix:
|
||||
```math
|
||||
\begin{bmatrix}
|
||||
ت & ب & ا \\
|
||||
a & b & c \\
|
||||
α & β & γ \\
|
||||
\end{bmatrix}
|
||||
```
|
||||
|
||||
Before you ask, yes, $e^{i\pi}+1=0$, it can also do inline as well. Gone are the days of writing math using unicodes or drawing an image.
|
||||
|
||||
#### Mermaid
|
||||
|
||||
Mermaid lets you create diagrams super easily.
|
||||
|
||||
```mermaid
|
||||
graph TD;
|
||||
A --> B --> C --> D --> A
|
||||
A(Wake up)
|
||||
B(Eat)
|
||||
C(AAAAAAAAAAAAAAAA)
|
||||
D(Sleep)
|
||||
```
|
||||
|
||||
MDX can be used for UI component stuff like JSX. You can import MDX into other MDX or into `.astro` files and the reverse works too!
|
||||
|
||||
Here is a code block:
|
||||
|
|
Loading…
Reference in a new issue