You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.0 KiB
Markdown

2 years ago
+++
title = "Markdown examples"
date = 2023-01-31
updated = 2023-03-01
description = "This post showcases some examples of Markdown formatting, including a table, code blocks and tags, quotes, tables, and footnotes."
2 years ago
[taxonomies]
tags = ["markdown", "showcase"]
2 years ago
+++
## Table
Here's an example of a table[^1]. Its colours change depending on the current theme.
| Symbol | Element | Atomic Number |
|---------|---------|---------------|
| H | Hydrogen| 1 |
| C | Carbon | 6 |
| Fe | Iron | 26 |
| Au | Gold | 79 |
2 years ago
## Code Block
```rust
fn main() {
println!("Hello, world!") -> ();
2 years ago
}
```
2 years ago
## Code tags
Lorem ipsum `dolor` sit amet, `consectetur adipiscing` elit.
`Lorem ipsum dolor sit amet, consectetur adipiscing elit.`
## Quote
> We're all hurtling towards death. Yet here we are, for the moment, alive. Each of us knowing we're going to die. Each of us secretly believing we won't.
>
> — Charlie Kaufman, Synecdoche, New York
[^1]: And here's an example of a footnote!