You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Faced a similar problem today. I'm rendering a Markdown codeblock with diffs, but due to the fact that Markdown doesn't have comments, it's impossible to show a diff line in a Markdown codeblock.
Clear and concise description of the problem
Currently, the comments based solution doesn't work with plaintext blocks:
This used to work with Enzo's shiki-processor implementation because it was using a regex-based solution to do stuff regardless of the language.
x-ref: vuejs/vitepress#4602
Suggested solution
We can support the syntax above or maybe without need for comment markers in plaintext? This workaround seems to work fine for simple cases:
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: