mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
MD preview does not show backslashes #549
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dst-RobertKnienider on GitHub (Aug 22, 2022).
Source
This bug was initially reported as https://github.com/madskristensen/MarkdownEditor2022/issues/70.
madskristensen asked me to post it here, as "This is the rendering component that the extension uses to render the HTML from the markdown source file."
Describe the bug
MarkdownEditor2022 preview does not show backslashes the same way Azure DevOps and Visual Studio Code do.
Tested with Visual Studio Professional 2022 (64-bit) Version 17.3.1.
To Reproduce
Preview attached minimal markdown file README.md with MarkdownEditor2022 and Azure DevOps and and Visual Studio Code respectively.
Expected behavior
MarkdownEditor2022 preview shows backslashes the same way Azure DevOps and Visual Studio Code do.
Screenshots
MarkdownEditor2022 (VS 17.3.1) preview

Azur DevOps preview

Visual Studio Code (1.70.1 6d9b74a) preview

Motivation
Documenting Infrasctructure as Code I want to be able to read and copy Windows and UNC paths from Markdown, e.g. within PowerShell commands.
@xoofx commented on GitHub (Aug 22, 2022):
So the following markdown is producing the correct output for Markdig here (look for
markdig (advanced))Markdig HTML output
So the HTML output from Markdig looks correct to me. I don't know why MarkdownEditor2022 is displaying something different, but looks more a bug there (sorry for the ping-pong!)
@dst-RobertKnienider commented on GitHub (Aug 22, 2022):
Thanks for the immediate response!
I'll switch serving side again ;-)