// plugins

Typstyle Plugin

Wrapper 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 typstyle

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

{
  "typst": {
    // typstyle's config goes here
  },
  "plugins": [
    "npm:@dprint/typstyle@x.x.x"
  ]
}

Configuration

See Configuration.

Source

See https://github.com/dprint/dprint-plugin-typstyle