Demo of leptos_ssg

Posted on July 13, 2025 at 20:20

Welcome to leptos_ssg! Let me show what it can do:

Level 2 heading

Paragraphs are separated by a blank line.

Two spaces at the end of a line
produce a line break.

Text attributes italic, bold, monospace.

Horizontal rule:


Level 3 heading

Bullet lists nested within numbered list:

  1. fruits
    • apple
    • banana
  2. vegetables
    • carrot
    • broccoli

A link.

TODO list

  • Come up with a plan to migrate my blog
  • Finish blog conversion, and write about it
  • Work on projects, and write about them

The markdown logo

Some rust:

fn main() {
    println!("Hello, world!");
}
NameAgeOccupation
Alice30Engineer
Bob25Designer
Carol35Teacher

Markdown uses email-style characters for blockquoting.

Multiple paragraphs need to be prepended individually.

Let's finish with some nix:

{
  stdenvNoCC,
  tailwindcss,
  src,
}:

stdenvNoCC.mkDerivation {
  name = "leptos_ssg_tailwind";
  inherit src;
  nativeBuildInputs = [ tailwindcss ];
  dontUnpack = true;
  buildPhase = "${tailwindcss}/bin/tailwindcss --output $out/output.css --cwd ${src} --minify";
}