mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 01:58:05 -05:00
1287739ddf
Fixes #25802 markup_fmt plugin supports some HTML-like formats like Angular, Jinja, Twig, Nunjucks or Vento, that are not supported by `deno fmt`. This PR adds support for the extensions `njk` (Nunjucks) and `vto` (Vento). Angular doesn't have a custom extension (it uses `html` afaik) and Jinja and Twig are template engines written in Python and PHP respectively so it doesn't make sense to be supported by Deno.
5 lines
No EOL
122 B
Text
5 lines
No EOL
122 B
Text
{
|
|
"tempDir": true,
|
|
"args": "fmt --unstable-component",
|
|
"output": "[WILDLINE]badly_formatted.njk\nChecked 1 file\n"
|
|
} |