vscode-inline-html icon indicating copy to clipboard operation
vscode-inline-html copied to clipboard

Support inline markdown

Open scarf005 opened this issue 2 years ago • 1 comments

markdowns used alongside a lot with HTML. supporting them would be useful for blog generators.

Alternatives

I've been using https://marketplace.visualstudio.com/items?itemName=jeoht.es6-string-markdown, however there's caveats:

const text = /*md*/`
	# This heading is not highlighted

# This heading is correctly highlighted
`

scarf005 avatar Sep 07 '23 01:09 scarf005

@scarf005 this is a problem with how vscode itself handles markdown, if you test in a new markdown file, indented headings will not be highlighted, this is the reason I didn't add markdown to inline html, plus other annoyances where code blocks in markdown will clash with es6 backtick ``` character. I'll leave this issue open so that maybe someday I find a clean workaround to integrate markdown into inline html

pushqrdx avatar Nov 11 '23 11:11 pushqrdx