Typst is an [[Apache v2]] licensed markup language written in [[Rust]]. - [Website](https://typst.app/) - [Source](https://github.com/typst/typst) - [Documentation](https://typst.app/docs) - AlternativeTo > Typst is a new markup-based typesetting system that is designed to be as powerful as LaTeX while being much easier to learn and use. # Notability # Philosophy # Platform Support # Features # Syntax Typst supports advanced formatting and layout beyond what is currently listed here, primarily via expressions. ## Directives ```typst #import "template.typ": * ``` ## Formatting | Markup | Display | | ---------------------- | -------------------- | | `_emphasis_` | *emphasis* | | `*strong` | **strong** | | `***strongemphasis***` | ***strongemphasis*** | | `~~strikethrough~~` | ~~strikethrough~~ | | `==highlight==` | ==highlight== | | `code` | `code` | | `$math
| $math$ | ## Headings ``` = Heading ``` ## Special | Markup | Info | | --------------------- | --------------------------------------------------------------------- | | `<label>` | Attaches to the closest preceding element, similar to IDs in [[HTML]] | | `@reference` | Internal link | | `https://example.com` | External link | ## Lists ```typst - item - item ``` ```typst + numbered item + numbered item ``` ```typst / Term: Definition / Term: Definition ``` ## Expressions ```typst #figure( image("image.svg"), caption: [Caption for above image!] ) ``` ## Comments ```typst // line comment ``` ```typst /* block comment */ ``` # Tips ## Integration with Hugo - https://discourse.gohugo.io/t/how-can-i-introduce-a-new-markup-language-typst-for-hugo/44848/16 # References