-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Some characters rendered incorrectly in Markdown comments when inline/block code is used #11322
Comments
Thanks for reporting this. We'll get it fixed. |
Great, thank you! :) |
The fix for this is available in 1.17.5 |
Awesome, thanks! However, the indentation in fenced code blocks still doesn't show correctly. My apologies, this is totally my fault - the code I put in my original comment isn't the right code. It doesn't match the screenshot and doesn't properly demonstrate the issue. I fixed it now. In 1.17.5 the first problem I mentioned (some characters are rendered with a redundant escape character) is fixed, but the fenced code blocks are still not correctly indented - see screenshot: The |
@browntarik does our comment parser eat all the leading whitespace? If so, we should open a new bug to tell it to stop eating whitespace between backticks so that the VS Code markdown renderer can do the right thing. If not, then we need to forward this bug on to the VS Code team. |
I think it's our comment processing code since TypeScript doesn't repro the issue. Would the new bug be for 1.18.0 or 1.17.6? |
1.18.0 |
This is tracked by #11379 now |
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
Thanks for adding this feature following issue #6020! It is very useful, but there are a few kinks to iron out.
<
,>
, and_
within inline code or fenced code blocks in Markdown comments are incorrectly rendered with an escape character in front, e.g.\<
,\>
, and\_
.Steps to reproduce:
Create the following sample program:
Expected behavior: The Markdown comment should be rendered correctly.
Actual behavior: See screenshot.
Configuration and Logs
I don't think any of these are relevant since the problem is just with Markdown rendering and not actual code, but I can attach them later if needed.
Other Extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: