Skip to content

SillyFreak/typst-parsing-plugin

Repository files navigation

The my-package Package

A short description about the project and/or client.

Template adaptation checklist

  • Fill out README.md
    • Change the my-package package name, including code snippets
    • Check section contents and/or delete sections that don't apply
  • Check and/or replace LICENSE by something that suits your needs
  • Fill out typst.toml
  • Adapt Repository URLs in CHANGELOG.md
    • Consider only committing that file with your first release, or removing the "Initial Release" part in the beginning
  • Adapt or deactivate the release workflow in .github/workflows/release.yml
    • to deactivate it, delete that file or remove/comment out lines 2-4 (on: and following)

    • to use the workflow

      if 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

  • remove/replace the example test case
  • (add your actual code, docs and tests)
  • remove this section from the README

Getting Started

To add this package to your project, use this:

#import "@preview/my-package:0.0.1": *

#let expr = "2 * (2 + x)"

#eval(mode: "math", expr)

#my-package.parse(expr)

#my-package.eval(expr, x: 3)

Example

Usage

See the manual for details.

About

Example for parsing strings in Typst using a Rust WASM plugin

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published