vscode-svg2 icon indicating copy to clipboard operation
vscode-svg2 copied to clipboard

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

Open igorkb opened this issue 1 year ago • 1 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"
    ],

igorkb avatar Mar 25 '23 05:03 igorkb

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

lishu avatar Mar 26 '23 09:03 lishu