Home

Awesome

what

Typst template for emulating terminal screenshots

how

input

#import "term.typ": term

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

output

<!-- don't even ask --> <img src="./examples/raw/raw.svg#svgView(viewBox(50, 50, 400, 200))" width="500" height="300">

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