Visitar URL original
Badness Plugin - dprint - Code Formatter
// plugins

Badness

LaTeX and BibTeX code formatter (badness).

Wrapper 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-v1.4.1.wasm"
  ]
}

Configuration

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

All plugins

Official Plugins

Community Plugins

Wrapper Plugins

Everything Else