Lax Markup
HTML, XML, SVG, Vue, Svelte, and Astro formatter that preserves rendering-critical whitespace.
Formats HTML, XML, SVG, Vue, Svelte, and Astro files via lax-markup, a formatter that only restructures markup where doing so cannot change how it renders.
Formats .html, .htm, .vue, .svelte, .astro, .xml, and .svg files.
This plugin uses the same "markup" configuration key as markup_fmt.
Install and Setup
In your project's directory with a dprint.json file, run:
dprint add bartlomieju/lax-markup
This will update your config file to have an entry for the plugin. Then optionally specify a "markup" property to add configuration:
{
"markup": {
// markup config goes here
},
"plugins": [
"npm:lax-markup@0.3.2"
]
}
Configuration
See the plugin documentation.
All plugins
Official Plugins
Community Plugins
Wrapper Plugins
Process
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Process
Wasm
Wasm
Wasm
Wasm
Wasm