p

porygon

@preview

Create a CV from a JSON file

v0.1.1
MIT
Template

Package Information

Last Updated
Minimum Typst Version
0.13.0
Authors
n4n5
Categories
cv

Preview

Template preview

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/porygon:0.1.1

2. Initialize from template

Create a new project from this template:

typst init @preview/porygon:0.1.1

Version History

0.1.10.13.0
d25a18d8e8c6...
0.1.00.13.0
c65186c90be9...

porygon

This package uses fontawesome, you should install the font first.

Usage

#import "@preview/porygon:0.1.1": show-cv

#let path_json = sys.inputs.at("CV_JSON", default: "cv_data.json")
#let data = json(path_json)
#show-cv(data)

Compilation

typst compile cv.typ --input CV_LANG=en CV_en.pdf
typst compile cv.typ --input CV_LANG=fr CV_fr.pdf

Typst package

# compile template
typst compile template/porygon_template.typ

# export thumbnail as png
typst compile -f png --pages 1 --ppi 250 template/porygon_template.typ screenshots/porygon_template.png
oxipng screenshots/porygon_template.png

Lisence