Universe

Codetastic is a Typst package for drawing barcodes and 2d codes.

Usage

For Typst 0.6.0 or later, import the package from the Typst preview repository:

#import "@preview/codetastic:0.1.0"

After importing the package call any of the code generation functions:

#import "@preview/codetastic:0.1.0": ean13, qrcode

#ean13(4012345678901)

#qrcode("https://github.com/typst/typst")

The output should look like this: Example for codes drawn with Codetastic

Further documentation

See manual.pdf for a full manual of the package.

Development

The documentation is created using Mantys, a Typst template for creating package documentation.

To compile the manual, Mantys needs to be available as a local package. Refer to Mantys’ manual for instructions on how to do so.

Changelog

Version 0.1.0