mdxt 0.3.2

Custom Markdown Engine for my personal blog.
# MDxt Showcase


| Table of Contents   |
|---------------------|
|!![[collapsible]]    |
| [[toc]]             |

## Tables


Tables with multiline-headers, colspans and column alingments!

```
|           |   [[colspan=2]] Compiled   |   Interpreted   |
|           |     Rust     |     Zig     |     Python      |
|-----------|--------------|-------------|-----------------|
| Repo      | [Rust]       | [Zig]       | [Python]        |
| Stars     | 68.5k        | 14.9k       | 46.1k           |
| License   | Apache       | MIT         | Python          |

|             | Column 1     | Column 2    | Column 3     |
|-------------|:------------:|:------------|-------------:|
| Alignment   | Center       | Left        | Right        |
| Colspan     | [[colspan=2]] 2            | 1            |
| Colspan     | 1            | [[colspan=2]] 2            |
```

|           |   [[colspan=2]] Compiled   |   Interpreted   |
|           |     Rust     |     Zig     |     Python      |
|-----------|--------------|-------------|-----------------|
| Repo      | [Rust]       | [Zig]       | [Python]        |
| Stars     | 68.5k        | 14.9k       | 46.1k           |
| License   | Apache       | MIT         | Python          |

|             | Column 1     | Column 2    | Column 3     |
|-------------|:------------:|:------------|-------------:|
| Alignment   | Center       | Left        | Right        |
| Colspan     | [[colspan=2]] 2            | 1            |
| Colspan     | 1            | [[colspan=2]] 2            |

[Zig]: https://github.com/ziglang/zig
[Rust]: https://github.com/rust-lang/Rust
[Python]: https://github.com/python/cpython

### Collapsible Tables


```
| Click Me! (Default shown)              |
|----------------------------------------|
|!![[collapsible, default=shown]]        |
| Hi, there!                             |

| Click Me! (Default hidden)            |
|---------------------------------------|
|!![[collapsible, default=hidden]]      |
| Hi, there!                            |
```
| Click Me! (Default shown)              |
|----------------------------------------|
|!![[collapsible, default=shown]]        |
| Hi, there!                             |

| Click Me! (Default hidden)            |
|---------------------------------------|
|!![[collapsible, default=hidden]]      |
| Hi, there!                            |

## Footnotes


```
This is a footnote.[^A]

This is another footnote.[^B]

[^A]: Hi, there!
[^B]: Hello!
```

This is a footnote.[^A]

This is another footnote.[^B]

[^A]: Hi, there!
[^B]: Hello!

## Fenced Code blocks


````
```rust, line_num, highlight(6, 17, 22)
/*
    multiline
    comment
*/
// single line comment
fn main() {
    let mut x = 3;
    let mut y = if x == 3 {
        4
    } else {
        5
    };
    println!("Hello World!\n");
    println!("{:?}", 3 + 4);
}

pub struct Point {
    x: f32,
    y: f32
}

pub const CONST: u32 = 1;
```
````

```rust, line_num, highlight(6, 17, 22)
/*
    multiline
    comment
*/
// single line comment
fn main() {
    let mut x = 3;
    let mut y = if x == 3 {
        4
    } else {
        5
    };
    println!("Hello World!\n");
    println!("{:?}", 3 + 4);
}

pub struct Point {
    x: f32,
    y: f32
}

pub const CONST: u32 = 1;
```

## Inline elements


`CO~2~` is rendered to CO~2~. [[br]]
`E = mc^2^` is rendered to E = mc^2^. [[br]]
`~~del~~` is rendered to ~~del~~. [[br]]
`~_underline_~` is rendered to ~_underline_~.

## Task lists


- [ ] Unchecked
- [X] Checked
- [^] Not yet

## Macros


`[[big]][[red]]Big red text.[[/red]][[/big]]` is rendered to [[big]][[red]]Big red text.[[/red]][[/big]].

`[[math]]cfrac{-b pm sqrt{b sup{2} - 4 a c}}{2a}[[/math]]` is rendered to [[math]]cfrac{-b pm sqrt{b sup{2} - 4 a c}}{2a}[[/math]].

`[[highlight=red]]This text is highlighted![[/highlight]]` is rendered to [[highlight=red]]This text is highlighted![[/highlight]].

### Colors


|    Name    |                    Color                    |
|------------|---------------------------------------------|
| Black      | [[Black]] Black [[/Black]]                  |
| Dark       | [[Dark]] Dark [[/Dark]]                     |
| Gray       | [[Gray]] Gray [[/Gray]]                     |
| Lightgray  | [[Lightgray]] Lightgray [[/Lightgray]]      |
| White      | [[White]] White [[/White]]                  |
| Red        | [[Red]] Red [[/Red]]                        |
| Green      | [[Green]] Green [[/Green]]                  |
| Blue       | [[Blue]] Blue [[/Blue]]                     |
| Aqua       | [[Aqua]] Aqua [[/Aqua]]                     |
| Emerald    | [[Emerald]] Emerald [[/Emerald]]            |
| Violet     | [[Violet]] Violet [[/Violet]]               |
| Pink       | [[Pink]] Pink [[/Pink]]                     |
| Grassgreen | [[Grassgreen]] Grassgreen [[/Grassgreen]]   |
| Gold       | [[Gold]] Gold [[/Gold]]                     |

Drag texts to see highlighted colors!