Skip to content

Sample page

This page shows the Fira Code typeface in code blocks.

Python

def fib(n: int) -> int:
    a, b = 0, 1
    for _ in range(n):
        a, b = b, a + b
    return a

Rust

fn main() {
    let squares: Vec<i32> = (1..10).map(|x| x * x).collect();
    println!("{squares:?}");
}

Shell

uv run zensical serve -a localhost:8123

Marked text and inline code render in the same face.