/prettier-html-templates

Use to build prettier plugins to format html files including template languages' markup

Primary LanguageJavaScriptMIT LicenseMIT

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

Ruby

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%)