lax-markup
v0.3.2
Published
Lax HTML, XML, SVG, and component (Vue, Svelte, Astro) formatter that never reinterprets your markup — dprint Wasm plugin.
Downloads
316
Maintainers
Readme
lax-markup
Lax HTML, XML, SVG, and component (Vue, Svelte, Astro) formatter that never reinterprets your markup, distributed as a dprint Wasm plugin.
This package ships the plugin's plugin.wasm so you can manage it with your
package manager (and tools like Renovate) instead of a pinned URL.
Usage
Install the package:
npm install --save-dev lax-markupReference the bundled Wasm file from your dprint.json:
{
"plugins": [
"./node_modules/lax-markup/plugin.wasm"
]
}Then run dprint as usual:
dprint fmtMatches .html, .htm, .vue, .svelte, .astro, .xml, and .svg files.
Source
Built from crates/lax-markup in the
bartlomieju/lax monorepo. The published package includes
npm provenance
attesting it was built and published from that repository.
License
MIT
