vscode_deno
vscode_deno copied to clipboard
deno_fmt: Support templating engines
Is your feature request related to a problem? Please describe.
I use deno_fmt to autoformat my blog posts which are written in Markdown. My blog posts are built with Hugo which means they support templating features like shortcodes. Currently, I am facing this issue where the formatter does not respect Hugo shortcodes as valid links, and a newline is always prepended before the link declaration:
https://github.com/denoland/vscode_deno/assets/31820255/c5ca95b0-471d-4623-8c46-50ad764f057d
Describe the solution you'd like I would like there to be an option which would allow indicating to the formatter that the document is an extended markdown template and that it can be lenient with the links etc.