Open MangelMaxime opened 3 years ago
(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
This matches how the markdown is rendered:
Github has the same behavior:
test
Sorry @mjbvz, when reporting the issue I changed the HTML element used compared to my code because I thought it was the same for all of them.
The code I used in my application is actually using anchor
HTML element.
<a href="dzdz"></a>
# Title
<a href="dzdz"></a>
**test**
I just checked on VSCode and Github the markdown is being rendered correctly.
GitHub demo:
End of GitHub demo
I guess there is a special case for the anchor element here.
This is still a bug today. Note that the last line beginning with *Pushed...
does not have Markdown highlighting applied:
success
Pushed by: @jonathan-regeimbal, Commit: blank
, Action: pull_request
Steps to Reproduce:
To fix this problem, the user can add an empty line:
But when using an extension which adds an anchor to titles for generating Table of Content, for example, we don't always have the control of where the HTML elements are being added.
Does this issue occur when all extensions are disabled?: Yes