On this page
Typst Feature Demo
Blog posts are written in Typst. This is a demo of what we can do with it.
Typst Feature Demo
Hereβs some text. Hello, World!
Rust is better than C++.
Does this change the commit hash correctly? Hmm.
This is a Subheading
Here is some more text.
This is Another Subheading
With some more text inside it!
Can I put images in here?
Code Blocks
Here is a code block.
fn add(a: &[f32], b: &[f32], out: &mut [f32]) {
for i in 0..a.len() {
out[i] = a[i] + b[i];
}
}Equations
For a polynomial of degree two with coefficients , and , the roots of the polynomial are given by
Cetz Diagrams
Here is a diagram from the docs.
Removed to test build times
Here is a Lorenz Attractor made in pure Typst!
Callouts
Note: This is a note.
Tip: This is a tip.
Warning: This is a warning.
Success: Great success!
Tables
This is a table. I think it looks ok.
| Backend | M2 MacBook Pro | Ryzen 9 7950X |
|---|---|---|
| Scalar | 312 ns | 289 ns |
| NEON | 48 ns | β |
| AVX2 | β | 38 ns |
| AVX-512 | β | 21 ns |