A collection of notes, thoughts, and ideas, or whatever I feel like writing about.
This blog is built using a fork of zola, a static site generator written in Rust. You can read about the changes I made in the README.
- Clone the repository
git clone https://github.com/cestef/blog.cstef.dev.git
cd blog.cstef.dev
- Install
zola
brew install cestef/tap/zola
git clone https://github.com/cestef/zola
cd zola
cargo install --path .
- Install
node
dependencies
pnpm install
- Start the development server
pnpm dev
This will start both zola
and tailwindcss
in watch mode.
This blog uses an extended version of the markdown
syntax.
Front matter is a block of TOML at the beginning of a file that specifies metadata (title, date, etc.) about the file. It is delimited by +++
.
+++
title = "My awesome post"
description = "A short description of the post"
date = 2021-08-01
[taxonomies]
tags = ["rust", "zola"]
+++
Currently, only rendering via typst
is supported. To render math, use the following syntax:
$$
lim_(x->oo) (1 + 1/x)^x
$$
$lim_(x->oo) (1 + 1/x)^x$
Raw math is rendered using typst
but without any additional formatting. See it as just rendering a file.
```typ
#set text(20pt)
#align(center + horizon)[
$ lim_(x->oo) (1 + 1/x)^x $
]
```
Diagrams are rendered using pikchr
. To render a diagram, use the following syntax:
```pikchr
box "Hello, World!"
```