blog/content/posts/2020-07-14-hello-world/index.md
Bruno BELANYI 2118ba170f
All checks were successful
ci/woodpecker/push/deploy/2 Pipeline was successful
layouts: add Mermaid support
Similar to Graphviz and TikZ support.
2024-07-20 17:24:54 +01:00

995 B

title date draft description tags categories favorite tikz graphviz mermaid
Hello World 2020-07-14T18:07:56+02:00 false Test post please ignore
test
false true true true

Test post please ignore

Hello world, this is just to test the capabilities of Hugo

Syntax highlighting

Rust

fn main() {
    println!("Hello World!")
}

Shell

echo hello world | cut -d' ' -f 1

TikZJax support

{{% tikz %}} \begin{tikzpicture} \draw (0,0) circle (1in); \end{tikzpicture} {{% /tikz %}}

Graphviz support

{{% graphviz %}} graph { a -- b b -- c c -- a } {{% /graphviz %}}

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 %}}

Spoilers

{{% spoiler "Don't open me" %}} Test 2

Test 3 {{% /spoiler %}}