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

markup_fmt

HTML, Vue, Svelte, Astro, Angular, Jinja, Twig, Nunjucks, and Vento formatter.

Plugin that formats HTML, Vue, Svelte, Astro, Angular, Jinja, Twig, Nunjucks, Vento, Mustache, and XML files via markup_fmt.

Install and Setup

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

dprint add g-plane/markup_fmt

This will update your config file to have an entry for the plugin. Then optionally specify a "markup" property (not "markup_fmt") to add configuration:

{
  "markup": { // not "markup_fmt"
    // markup_fmt config goes here
  },
  "plugins": [
    "npm:dprint-plugin-markup@0.27.6"
  ]
}

Configuration

Read the full documentation site with code examples.

All plugins

Official Plugins

Community Plugins

Wrapper Plugins

Everything Else