An open API service indexing awesome lists of open source software.

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

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