typst-learning
deployment
online
you can view it online on typst.app
just like overleaf on $\LaTeX$
offline
VScode
just install the typst-LSP and Tinymist Typst plugins
CLI
- win:
winget install --id Typst.Typst - macos:
brew install typst - Rust:
cargo install --locked typst-cli
quick intro
1 | #set page(width: 16cm, height: auto) |
typst have three mode:
- code mode: start with
# - math mode: covered with
$..$, like $\LaTeX$ andmarkdown - recognition mode: covered with
[..]
other important grammars: - 着重强调(black):
*aaaaa* - 普通强调:
_emphasis_ - code blocks: like
markdown - heading:
= heading - not enmoneous list:
- ...like what inmarkdown - enmoneous list:
+ ... - formula:
$ ... $
support the unicode, and can directly replace into unicode, a.k.a.,$\alpha$is equal to$α$
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
