// plugins

Typstyle (kachick) Plugin

Adapter plugin that formats Typst files via Typstyle.

Formats .typ files.

This is a separate plugin from apcamargo/typstyle. It is configured under the "typst" key and is also published to npm.

Install and Setup

In your project's directory with a dprint.json file, run:

dprint add kachick/typstyle
# or install from npm
dprint add npm:@kachick/dprint-plugin-typstyle

This will update your config file to have an entry for the plugin. Then optionally specify a "typst" property to add configuration:

{
  "typst": {
    // typst config goes here
  },
  "plugins": [
    "https://plugins.dprint.dev/kachick/typstyle-x.x.x.wasm"
  ]
}

Configuration

See Configuration.