0.2.0 • Published 3 years ago
prettier-plugin-pebble v0.2.0
Prettier for Pebble Templates

This Plugin enables Prettier to format Pebble which is a Java templating engine inspired by Twig
Install
npm install --save-dev prettier-plugin-pebbleUse
In your editor, if the plugin is not automatically picked up and invoked (e.g., if you are using format on save, but no formatting is happening when you save), try adding the plugin explicitly in your Prettier configuration (e.g., .prettierrc.json) using the plugins key:
{
"printWidth": 80,
"tabWidth": 4,
"plugins": ["./node_modules/prettier-plugin-pebble"]
}Testing
- You can call
yarn testto test against all regular tests