s

self-example

@preview

A typst package that will eval your typst command together with itself as a raw block.

v0.1.0
MIT

Package Information

Last Updated
Categories
utilityscripting

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/self-example:0.1.0

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/self-example:0.1.0": *

Version History

0.1.0
e9163276cf28...

self-example

A typst package that will eval your typst command together with itself as a raw block.

Check examples/ to see how to use.

Quick start

#import "@preview/self-example:0.1.0": *
#getExample("= Hello")