Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support inline markdown #43

Open
scarf005 opened this issue Sep 7, 2023 · 1 comment
Open

Support inline markdown #43

scarf005 opened this issue Sep 7, 2023 · 1 comment

Comments

@scarf005
Copy link

scarf005 commented Sep 7, 2023

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
`
@pushqrdx
Copy link
Owner

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants