{"library":"prettier-plugin-antlers","title":"Prettier Plugin for Antlers (Statamic)","description":"Prettier plugin for formatting Antlers templates used in Statamic CMS. Current stable version is 2.0.5, supporting Prettier 3 (peer dependency >=3). The plugin uses the same formatting engine as Antlers Toolbox. Key differentiators: specifically for Antlers syntax, not generic HTML/Latte. Older v1.x supports Prettier 2, v2.x requires Prettier 3. Installation may require explicit plugin path reference in .prettierrc to avoid module resolution errors.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install prettier-plugin-antlers"],"cli":{"name":"prettier","version":null}},"imports":["Add to `plugins` array in .prettierrc as 'prettier-plugin-antlers' or './node_modules/prettier-plugin-antlers/'","Use `parser: 'antlers'` in config or CLI","Do not require/import directly"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// .prettierrc\n{\n  \"plugins\": [\"prettier-plugin-antlers\"],\n  \"overrides\": [\n    {\n      \"files\": [\"*.antlers.html\"],\n      \"options\": {\n        \"parser\": \"antlers\"\n      }\n    }\n  ]\n}","lang":"json","description":"Minimal .prettierrc configuration to enable Antlers formatting with the plugin.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}