my-package
PackageA short description about the project and/or client.
README.md
my-package
package name, including code snippetsLICENSE
by something that suits your needstypst.toml
CHANGELOG.md
[ ] Adapt or deactivate the release workflow in .github/workflows/release.yml
on:
and following)env:
, particularly REGISTRY_REPO
REGISTRY_REPO
REGISTRY_TOKEN
(at https://github.com/[user]/[repo]/settings/secrets/actions
) that contains the so created tokenif configured correctly, whenever you create a tag v...
, your package will be pushed onto a branch on the REGISTRY_REPO
, from which you can then create a pull request against typst/packages
These instructions will get you a copy of the project up and running on the typst web app. Perhaps a short code example on importing the package and a very simple teaser usage.
#import "@preview/my-package:0.1.0": *
#show: my-show-rule.with()
#my-func()
A step by step guide that will tell you how to get the development environment up and running. This should example how to clone the repo and where to (maybe a link to the typst documentation on it), along with any pre-requisite software and installation steps.
$ First step
$ Another step
$ Final step
A more in-depth description of usage. Any template arguments? A complicated example that showcases most if not all of the functions the package provides? This is also an excellent place to signpost the manual.
#import "@preview/my-package:0.1.0": *
#let my-complicated-example = ...