lax-markup

Lax HTML, XML, SVG, and component (Vue, Svelte, Astro) formatter that never reinterprets your markup — dprint Wasm plugin.
1,031 14
Install
npm install lax-markup
Latest Version:0.3.2
License:MIT
Last Updated:Aug 3, 2026
Links: GitHub  ·  npm
Maintainer: bartlomieju

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-markup

Reference the bundled Wasm file from your dprint.json:

{
  "plugins": [
    "./node_modules/lax-markup/plugin.wasm"
  ]
}

Then run dprint as usual:

dprint fmt

Matches .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

Related Packages

rollup-plugin-htmlvue

Rollup plugin for transforming HTML/XML to Vue SFC

988 3
stylelint-config-html

The shareable HTML config for Stylelint.

26,955,176 90
@mhaadi/svg

Inline SVG rendering for React, React Native, Vue, Svelte, Solid, Astro, and Ang...

2,055 9
prettier-plugin-bootstrap

A Prettier plugin for automatic Bootstrap class sorting

1,961 3
typescript-eslint-parser-for-extra-files

An experimental ESLint custom parser for Vue, Svelte, and Astro for use with Typ...

112,278 53

Version History

Version Released License
0.3.2 MIT
0.3.1 MIT
0.3.0 MIT
0.2.4 MIT