First Post

2018-09-03

Hello there! This is my blog. This post serves the purpose to demonstrate the markdown/markup abilities:

Markdown

There is support for emph, bold and monospace.

Notes

This is a note.

Warning: This might be dangerous.

This is dangerous!

Code

#[derive(Debug, Clone)]
struct Foo {
    bar: String,
    baz: i32,
}

fn main() {
    let x = Foo {
        bar: "Hello World!".to_string(),
        baz: 42,
    };

    println!("{:?}", x);
}

import typing

def x(a: int, b: str) -> typing.Tuple[int, str]:
    return a + 1, b + "\n"

Lists

Unordered

Ordered

  1. First foo
  2. Then bar
  3. Finally baz

Tables

Variable Name Value Special Meaning
$dark-purple #1c0658 $text
$purple #5c2686 $primary
$rose #ff1690 $danger
$yellow #f4d676 $warning
$cyan #36cdc4 $info

Heading 1

Lorem ipsum dolor sit amet.

Heading 2

Lorem ipsum dolor sit amet.

Heading 3

Lorem ipsum dolor sit amet.

Heading 4

Lorem ipsum dolor sit amet.

Heading 5

Lorem ipsum dolor sit amet.

Heading 6

Lorem ipsum dolor sit amet.


monospace-Heading

$ touch /tmp/test.txt
$ echo Hello World >/tmp/test.txt
$ date >>/tmp/test.txt
$ cat /tmp/test.txt

Markup

Vertical...

Top tile

...tiles

Bottom tile

Middle tile

With an image

Wide tile

Aligned with the right tile

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.

Tall tile

With even more content

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.