Hi! I’m CrumblyLiquid and this is the first post in this blog! I’ve finally gotten around to porting my website to Typst – using it as esentially a Static Site Generator (SSG). I’ve only had to ask an LLM a couple of times to help me with CSS otherwise I would’ve gone mad trying to debug my shitty HTML/CSS :).
Why Typst?
Well so I could use Typst to write my blogposts! With Typst I don’t have to resort to rendering images and pasting them into Markdown. I can use all of the nice scripting and (albeit limited in HTML) typesetting features of Typst.
I’ll probably make a separate blogpost about my exprience with using Typst as an SSG but I like it so far. I’m using “native” Typst with the new bundles feature but only time will tell wether that was a good decision. Maybe I should’ve stuck with existing SSGs that accept Typst as an input such as Tola or Typsite.
Showcase
I have basically all the features of Markdown but with a nicer syntax and scripting (when needed). The following text showcases how all the different elements look. I’m probably going to use this part as a test area to catch styling issues :D
Markup
Bolded, emphasized, italicized, underlined and strikethouged.
Lists
- First item
- Second item
- Third item
- First item
- Second item
- Third item
Quotes
Sometimes it’s best to wait for rain.
Physics sometimes shocks you.
Code blocks
print("Hello, world!")
#let greeting = [Hello, world!]
#greetingRemaining issues and TODOs
Fix the sizing issues on the blog pages between the header and main content
- I’m using
inline-sizeandmax-inline-sizeinstead of simple padding
- I’m using
Interesting links page
- I’ve wanted to have some page of interesting websites or articles for a while now
Tweets page
- Esentially a duplicate of the blog but reserved for small ideas that don’t deserve their own blog post
Possibly a nicer Typst structure
- The current way of creating documents and importing is a bit unreadable
- There’s a
lot oftoo much manual work that has to be done for adding new pages or even posts