mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
typst: add page (#10497)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
parent
b29db9adcb
commit
15a7bb9943
1 changed files with 17 additions and 0 deletions
17
pages/common/typst.md
Normal file
17
pages/common/typst.md
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue