hello, markdown

Thi post is a markdown file in src/posts/. It is embedded into the binary at compile time, parsed with pulldown-cmark, and rendered through the view! macro. Adding another post means adding another .md file beside this one.

What the styling covers

Prose gets emphasis, strong text, and inline code. Links look like this.

  • Lists sit in the prose column
  • With the same measure as the paragraphs
  • And a hanging marker, so the text edge stays straight

A blockquote is set with a rule down its left side, in the payslip’s blue, so it reads as a marked passage rather than a decorated one.

Code blocks are set on a tinted panel:

fn main() {
    println!("hello");
}

Smaller headings

Headings step down in size but stay in Vollkorn, so a post reads as one voice rather than a form with sections.

Finally, a horizontal rule to close:


That is the whole vocabulary the renderer supports today.

back to writing