Skip to content

alan-eu/prettier-plugin-nunjucks

 
 

Repository files navigation

prettier-plugin-nunjucks

[WIP] Prettier plugin to format Nunjucks

This plugin is so far from ready it might as well be on the moon. Contributions welcome.

TODO

Tags

  • 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

Templating

Options

  • Accept Prettier options for consistency
    • Quote marks
  • Accept Nunjucks options for tags etc.

Code

  • Cleanup
  • Refactor

About

[WIP] Prettier plugin to format Nunjucks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.9%
  • HTML 18.1%