dawn/content/showcase.md

83 lines
1.1 KiB
Markdown
Raw Normal View History

2022-05-07 02:01:48 -04:00
+++
title = "Dawn Showcase"
2022-05-08 02:01:39 -04:00
date = 2022-05-07
2022-05-07 02:01:48 -04:00
[taxonomies]
tags = ["zola", "theme", "showcase"]
+++
Hi! This is a Showcase of the `Dawn` theme.
2022-05-08 02:01:39 -04:00
Code:
2022-05-07 02:01:48 -04:00
2022-05-08 02:01:39 -04:00
```rust,linenos
2022-05-07 02:01:48 -04:00
use std::error::Error;
#[derive(Debug)]
struct Test {
pub lang: String,
pub content: String
}
fn main() -> Result<(), Box<dyn Error>> {
let a = Test {
lang: "en".to_string(),
content: "content".to_string()
};
println!("{:?}", a);
Ok(())
}
2022-05-08 02:01:39 -04:00
```
2022-05-07 02:01:48 -04:00
2022-05-08 02:01:39 -04:00
Inline code: `print("Hi")`
2022-05-07 02:01:48 -04:00
2022-05-08 02:01:39 -04:00
Typography:
2022-05-07 02:01:48 -04:00
2022-05-08 02:01:39 -04:00
*Italic*, **Bold**, _**Italic Bold**_, [link](#)
2022-05-07 02:01:48 -04:00
2022-05-08 02:01:39 -04:00
# Header 1
## Header 2
### Header 3
#### Header 4
2022-05-07 02:01:48 -04:00
2022-05-08 02:01:39 -04:00
Quote:
2022-05-07 02:01:48 -04:00
2022-05-08 02:01:39 -04:00
> The world isn't perfect. But it's there for us, doing the best it can.
That's what makes it so damn beautiful.
2022-05-07 02:01:48 -04:00
2022-05-08 02:01:39 -04:00
Lists
2022-05-07 02:01:48 -04:00
- A
- B
1. a
2. b
3. c
2022-05-08 02:01:39 -04:00
Horizontal line:
2022-05-07 02:01:48 -04:00
---
2022-05-08 02:01:39 -04:00
Here the post summary ends.
2022-05-07 02:01:48 -04:00
<!-- more -->
2022-05-08 02:01:39 -04:00
fin post summary
Latex:
$$ \partial\partial\partial $$
{{ katex(body="3 + 4") }}
{{ katex(block=true, body="\KaTeX") }}
Images:
{{ image(src="/ferris.png", alt="Ferris", position="right", style="width: 20%; height: 20%;") }}
2022-06-23 18:55:30 -04:00
Tikz:
{{ tikz(position="right" body="\begin{tikzpicture}\draw (0,0) circle (1in);\end{tikzpicture}") }}