A Quarto extension that uses Typst to create an NBIS-branded PDF flyer
quarto use template royfrancis/quarto-typst-flyer
quarto render index.qmd
The Typst template accepts the following top-level fields:
subtitle(string) – Uppercase text rendered above the titletitle(string) – Main workshop headline shown prominentlydescription(multiline string) – Short summary paragraphcontent(multiline string) – Optional extra paragraph injected below info chipsdate-range(string) – Dates displayed inside the info chip gridlocation(string) – Venue/location line used in the info chip gridinfo(string) – Additional link/website or note that appears in the info chip griddeadline(string) – Application/registration deadline in the info chip gridbg-image.path(file path) – Background image that fills the entire pagebanner-image.path(file path) – Hero/banner artwork spanning the top grid rowbanner-height(length, e.g.,5cm) – Height of the banner striplogo-image.path(file path) – Logo placed top-left within the banner arealogo-height(length, e.g.,2cm) – Rendered height for the supplied logo imagefont-size(length, e.g.,13pt) – Base body font size; heading sizes scale from itcolor-text(color or hex string) – Text colorcolor-info(color or hex string) – Background color for the info chip blocksfooter-left(string) – Left-aligned footer text (e.g., year or organization)footer-right(string) – Right-aligned footer text (e.g., contact email)
To modify parameters;
quarto render index.qmd --metadata title:"Your Flyer Title" --metadata date-range:"1-5 July 2026" --metadata location:"Online" --metadata info:"www.new-website.com/workshop" --metadata deadline:"01 June 2026" --metadata font-size:14pt --metadata footer-right:"bla@bla.se"
2026 • Roy Francis
