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
  1. First item
  2. Second item
  3. Third item

Quotes

Sometimes it’s best to wait for rain.

Physics sometimes shocks you.
— Michael Faraday

Code blocks

print("Hello, world!")

#let greeting = [Hello, world!]
#greeting

Remaining issues and TODOs

  • Fix the sizing issues on the blog pages between the header and main content

    • I’m using inline-size and max-inline-size instead of simple padding
  • 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 of too much manual work that has to be done for adding new pages or even posts