dyc3 / good-typst-template

My personal typst template repo that includes CI, mermaid/plantuml figures, and other useful bits.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

good-typst-template

My personal typst template repo that includes CI, mermaid/plantuml figures, and other useful bits.

Setup

  1. Install typst
  2. Install mermaid-cli (requires node.js)
npm install -g @mermaid-js/mermaid-cli@10.6.1

Note: Running in WSL may require some additional setup for mermaid to work. See: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#running-puppeteer-on-wsl-windows-subsystem-for-linux

Usage

if you have make installed, you can run these:

# build the document
make

# rerender all figures
make figures

Otherwise, you can run the commands in the makefile manually.

# produces main.pdf
typst compile main.typ

# rerenders all figures
./scripts/render-figures.sh

About

My personal typst template repo that includes CI, mermaid/plantuml figures, and other useful bits.

License:The Unlicense


Languages

Language:Typst 79.9%Language:Shell 15.7%Language:Just 1.9%Language:Makefile 1.3%Language:Mermaid 1.2%