MDex Showcase
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 | |
| | Compiled | Interpreted |
|---|
| | Rust | Zig | Python |
|---|
| Repo | Rust | Zig | Python |
| Stars | 68.5k | 14.9k | 46.1k |
| License | Apache | MIT | Python |
Collapsible Tables
| | Click Me! (Default shown) | |
| |----------------------------------------| |
| |!![[collapsible, default=shown]] | |
| | Hi, there! | |
|
| | Click Me! (Default hidden) | |
| |---------------------------------------| |
| |!![[collapsible, default=hidden]] | |
| | Hi, there! | |
| Click Me! (Default shown) |
|---|
| Hi, there! |
| Click Me! (Default hidden) |
|---|
| Hi, there! |
| This is a footnote.[^A] |
|
| [^A]: Hi, there! |
This is a footnote.
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; |
| ``` |
| 1 | /* |
| 2 | multiline |
| 3 | comment |
| 4 | */ |
| 5 | // single line comment |
| 6 | fn main() { |
| 7 | let mut x = 3; |
| 8 | let mut y = if x == 3 { |
| 9 | 4 |
| 10 | } else { |
| 11 | 5 |
| 12 | }; |
| 13 | println!("Hello World!\n"); |
| 14 | println!("{:?}", 3 + 4); |
| 15 | } |
| 16 | |
| 17 | pub struct Point { |
| 18 | x: f32, |
| 19 | y: f32 |
| 20 | } |
| 21 | |
| 22 | pub const CONST: u32 = 1; |
Inline elements
CO~2~ is rendered to CO2.
E = mc^2^ is rendered to E = mc2.
~~del~~ is rendered to del.
~_underline_~ is rendered to underline.
Task lists
Macros
[[big]][[red]]Big red text.[[/red]][[/big]] is rendered to Big red text..
[[math]]cfrac{-b pm sqrt{b sup{2} - 4 a c}}{2a}[[/math]] is rendered to \(\cfrac{-b \pm \sqrt{b ^{2} - 4 a c}}{2a}\).
[[highlight=red]]This text is highlighted![[/highlight]] is rendered to This text is highlighted!.
Colors
| Name | Color |
|---|
| Black | Black |
| Dark | Dark |
| Gray | Gray |
| Lightgray | Lightgray |
| White | White |
| Red | Red |
| Green | Green |
| Blue | Blue |
| Aqua | Aqua |
| Emerald | Emerald |
| Violet | Violet |
| Pink | Pink |
| Grassgreen | Grassgreen |
| Gold | Gold |
Drag texts to see an invisible color!
0. [0] Hi, there!