Deno fmt force `njk` content type for `.liquid` files
With the arrival of support for formatting Nunjucks in Deno 2, I would like to use this functionality to format
.liquid
files (which are very similar in syntax). However, I'm struggling to get the --ext
flag to work properly. It doesn't seem to recognize njk
as a possible value for --ext
, but even if I use a recognized value, it says the target file is not found even though it exists. Note that it does work if my file has a .njk
extension.
Is this a Deno bug? If not, what am I doing wrong?0 Replies