lishu / vscode-svg2

A vscode svg langauge support extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: Option to add array of file extensions to be treated as .html files

igorkb opened this issue · comments

Request to add an option to include a list of file extensions to be treated as html files so .astro or .svelte and other files can benefit of this extension just like .html can with inline svg.

something like

"svg.completion.treatAsHtml": [
      "xml",
      "jsx",
      "vue",
      "svelte",
      "astro"
    ],

This extension does not directly support HTML formatting, but provides support for HTML content through Custom Data Extension, so it doesn't make sense to add this option in this extension.

Support may be implemented in the next refactored release