{"library":"prettier-plugin-twig-melody","type":"library","category":null,"description":"A Prettier plugin that formats .twig, .html.twig, and .melody.twig files using the Melody parser. Version 0.4.6 is the latest stable release. It integrates with Prettier to provide consistent formatting for Twig templates used in Melody-based UI frameworks. Key differentiators include support for custom Twig extensions via twigMelodyPlugins, multi-tag handling (e.g., nav/endnav), and options to follow Symfony coding standards. It has several configuration options (twigSingleQuote, twigPrintWidth, twigAlwaysBreakObjects, etc.) but is not actively maintained (last release 2021, repository archived).","language":"javascript","status":"deprecated","version":"0.4.6","tags":["javascript"],"install":[{"cmd":"npm install prettier-plugin-twig-melody","imports":["Use via Prettier configuration: plugins: [\"prettier-plugin-twig-melody\"]","Add options to .prettierrc: { \"twigSingleQuote\": true, \"twigPrintWidth\": 80 }","const prettier = require('prettier'); prettier.format(code, { parser: 'twig', plugins: ['prettier-plugin-twig-melody'] })"]},{"cmd":"yarn add prettier-plugin-twig-melody","imports":[]},{"cmd":"pnpm add prettier-plugin-twig-melody","imports":[]}],"homepage":null,"github":"https://github.com/trivago/prettier-plugin-twig-melody","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/prettier-plugin-twig-melody","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/prettier-plugin-twig-melody/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}