{"library":"prettier-plugin-marko-htmljs","title":"prettier-plugin-marko-htmljs","description":"A Prettier plugin for Marko templates that uses the htmljs-parser (^5) instead of @marko/compiler. Version 0.1.1 is current; development is active with monthly releases. Key differentiators: follows Prettier's HTML formatting rules (empty line collapsing, separate close tags for non-void elements, bracketSameLine support) and supports prettier-ignore comments. Does not support Marko concise mode. Requires Prettier ^3 as a peer dependency.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install prettier-plugin-marko-htmljs"],"cli":null},"imports":["// Add to .prettierrc: { \"plugins\": [\"prettier-plugin-marko-htmljs\"] }"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Install plugin and peer dependencies\nnpm install --save-dev prettier-plugin-marko-htmljs htmljs-parser prettier@^3\n\n// .prettierrc\n{\n  \"plugins\": [\"prettier-plugin-marko-htmljs\"],\n  \"bracketSameLine\": false,\n  \"singleAttributePerLine\": false\n}\n\n// Format all .marko files\nnpx prettier --write \"**/*.marko\"","lang":"javascript","description":"Install and configure the plugin, then run prettier on Marko files.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}