dprint-plugin-pug
dprint-plugin-pug is a small dprint formatter plugin for .pug files.
Example
Build the plugin:
Point dprint at the generated Wasm file:
dprint-plugin-pug is a small dprint formatter plugin for .pug files.
Build the plugin:
cargo build -p dprint-plugin-pug --target wasm32-unknown-unknown --release
Point dprint at the generated Wasm file:
{
"plugins": [
"target/wasm32-unknown-unknown/release/dprint_plugin_pug.wasm"
],
"pug": {
"quoteStyle": "single",
"lineWidth": 80
}
}