// plugins

Badness Plugin

Adapter plugin that formats LaTeX and BibTeX files via Badness.

Formats .tex, .sty, .cls, .dtx, .ins, and .bib files.

Install and Setup

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

dprint add jolars/badness

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

{
  "badness": {
    // badness config goes here
  },
  "plugins": [
    "https://plugins.dprint.dev/jolars/badness-vx.x.x.wasm"
  ]
}

Configuration

See Configuration.

Unlike the Badness CLI, the Wasm plugin cannot read command signatures from neighboring .sty and .cls files. See the plugin documentation for details.