mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 00:54:34 +00:00
Update cheatsheets
This commit is contained in:
22
typst
Normal file
22
typst
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# typst
|
||||
|
||||
> Compile a Typst file to PDF.
|
||||
> Note: Specifying the output location is optional.
|
||||
> More information: <https://github.com/typst/typst>.
|
||||
|
||||
- List all discoverable fonts in the system and the given directory:
|
||||
|
||||
`typst --font-path {{path/to/fonts_directory}} fonts`
|
||||
|
||||
- Compile a Typst file:
|
||||
|
||||
`typst compile {{path/to/source.typ}} {{path/to/output.pdf}}`
|
||||
|
||||
- Watch a Typst file and recompile on changes:
|
||||
|
||||
`typst watch {{path/to/source.typ}} {{path/to/output.pdf}}`
|
||||
Reference in New Issue
Block a user