[WIP] Prettier plugin to format Nunjucks
This plugin is so far from ready it might as well be on the moon. Contributions welcome.
- if
- else
- elif
- expression (e.g.
{% if foo === bar %}
) - logic
- for
- asyncEach
- asyncAll
- macro
- set
- basic
- multiple assignment
- object assignment
- endset
- extends
- block
- include
- import
- raw
- verbatim
- filter
- call
- custom
- Accept Prettier options for consistency
- Quote marks
- Accept Nunjucks options for tags etc.
- Cleanup
- Refactor