vscode_deno icon indicating copy to clipboard operation
vscode_deno copied to clipboard

deno_fmt: Support templating engines

Open UtkarshVerma opened this issue 1 year ago • 0 comments

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.

UtkarshVerma avatar Jun 14 '23 17:06 UtkarshVerma