qo / term

emulate terminal screenshots in typst
17 stars 1 forks source link

what

Typst template for emulating terminal screenshots

how

input

#import "term.typ": term

#term(
  content: [`$ ls
term.typ`],
)

output

why

how (in-depth)

download the template

curl https://raw.githubusercontent.com/qo/term/main/term.typ --output term.typ

import it wherever you want it

#import "term.typ": term

pass the content parameter to the term function

examples

examples can be found in examples directory