https://github.com/adamzapasnik/prettier-html-templates
Use to build prettier plugins to format html files including template languages' markup
https://github.com/adamzapasnik/prettier-html-templates
html html-template prettier prettier-plugin
Last synced: about 1 year ago
JSON representation
Use to build prettier plugins to format html files including template languages' markup
- Host: GitHub
- URL: https://github.com/adamzapasnik/prettier-html-templates
- Owner: adamzapasnik
- License: mit
- Created: 2021-02-01T20:28:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T08:36:29.000Z (about 3 years ago)
- Last Synced: 2025-03-15T03:06:40.220Z (about 1 year ago)
- Topics: html, html-template, prettier, prettier-plugin
- Language: JavaScript
- Homepage:
- Size: 888 KB
- Stars: 2
- Watchers: 1
- Forks: 7
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Prettier HTML Templates
This package is used to build prettier plugins to format html files that include template languages' markup, like jinja, erb and others.
## Existing plugins built on top of this package
### Elixir
[prettier-plugin-eex](https://github.com/adamzapasnik/prettier-plugin-eex)
### Ruby
[prettier-plugin-erb](https://github.com/adamzapasnik/prettier-plugin-erb)
## How to build a plugin?
This section is currently missing. Please use one of the plugins above to figure it out. Feel free to ask questions via Issues.
## Known issues
- class attributes are not formatted
- style attributes are not formatted
- prettier ignore comments don't work
- missing documentation
- more tests (need 100% coverage, atm 99%)