2020-07-14 18:17:36 +02:00
|
|
|
---
|
|
|
|
title: "Hello World"
|
|
|
|
date: 2020-07-14T18:07:56+02:00
|
|
|
|
draft: false
|
2021-10-20 12:37:19 +02:00
|
|
|
description: "Test post please ignore"
|
2020-07-14 18:17:36 +02:00
|
|
|
tags:
|
|
|
|
- test
|
|
|
|
categories:
|
|
|
|
favorite: false
|
2020-10-16 22:12:09 +02:00
|
|
|
tikz: true
|
2024-07-20 18:21:03 +02:00
|
|
|
graphviz: true
|
2024-07-20 18:24:21 +02:00
|
|
|
mermaid: true
|
2020-07-14 18:17:36 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
## Test post please ignore
|
|
|
|
|
|
|
|
Hello world, this is just to test the capabilities of [Hugo](https://gohugo.io/)
|
|
|
|
|
|
|
|
<!--more-->
|
|
|
|
|
|
|
|
### Syntax highlighting
|
|
|
|
|
|
|
|
#### Rust
|
|
|
|
|
|
|
|
```rust
|
|
|
|
fn main() {
|
|
|
|
println!("Hello World!")
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Shell
|
|
|
|
|
|
|
|
```sh
|
|
|
|
echo hello world | cut -d' ' -f 1
|
|
|
|
```
|
2020-10-16 22:12:09 +02:00
|
|
|
|
|
|
|
### TikZJax support
|
|
|
|
|
|
|
|
{{% tikz %}}
|
|
|
|
\begin{tikzpicture}
|
|
|
|
\draw (0,0) circle (1in);
|
|
|
|
\end{tikzpicture}
|
|
|
|
{{% /tikz %}}
|
2021-01-23 16:08:01 +01:00
|
|
|
|
2024-07-20 18:21:03 +02:00
|
|
|
### Graphviz support
|
|
|
|
|
|
|
|
{{% graphviz %}}
|
|
|
|
graph {
|
|
|
|
a -- b
|
|
|
|
b -- c
|
|
|
|
c -- a
|
|
|
|
}
|
|
|
|
{{% /graphviz %}}
|
|
|
|
|
2024-07-20 18:24:21 +02:00
|
|
|
### Mermaid support
|
|
|
|
|
|
|
|
{{% mermaid %}}
|
|
|
|
graph TD
|
|
|
|
A[Enter Chart Definition] --> B(Preview)
|
|
|
|
B --> C{decide}
|
|
|
|
C --> D[Keep]
|
|
|
|
C --> E[Edit Definition]
|
|
|
|
E --> B
|
|
|
|
D --> F[Save Image and Code]
|
|
|
|
F --> B
|
|
|
|
{{% /graphviz %}}
|
|
|
|
|
2021-01-23 16:08:01 +01:00
|
|
|
### Spoilers
|
|
|
|
|
|
|
|
{{% spoiler "Don't open me" %}}
|
|
|
|
Test 2
|
|
|
|
|
|
|
|
Test 3
|
|
|
|
{{% /spoiler %}}
|