Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olivernybroe/prettier-plugin-blade
Adds support for Blade templates to Prettier. (work in progress)
https://github.com/olivernybroe/prettier-plugin-blade
Last synced: about 1 month ago
JSON representation
Adds support for Blade templates to Prettier. (work in progress)
- Host: GitHub
- URL: https://github.com/olivernybroe/prettier-plugin-blade
- Owner: olivernybroe
- Created: 2022-01-26T07:33:52.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-26T17:31:24.000Z (almost 3 years ago)
- Last Synced: 2024-10-12T11:08:54.770Z (2 months ago)
- Homepage:
- Size: 6.45 MB
- Stars: 0
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blade support for Prettier
This is very much a **work in progress**. Most of the code is messy and proof-of-concept.
Right now, it supports formatting Blade files as HTML, sorting Tailwind classes (if you use Tailwind) and formatting the Blade `{{ }}` syntax (adding spaces and formatting code using prettier-php).
Here are some of the things that still need to be done:
* [ ] Formatting directives
* [ ] Ensuring directives with inner content are formatted correctly
* [ ] Adding support for other `{{ }}` variants, i.e `{!!`, `{{--`.