// plugins

Typstyle Plugin

Adapter plugin that formats Typst files via Typstyle.

Formats .typ files.

Install and Setup

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

dprint add apcamargo/typstyle

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

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

Configuration

See Configuration.