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

Backslash in code block causes markdown preview/rendering coloring issue #50059

Closed
schallm opened this issue May 17, 2018 · 1 comment
Closed
Assignees
Labels
markdown Markdown support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@schallm
Copy link

schallm commented May 17, 2018

  • VSCode Version: 1.23.1
  • OS Version: Windows 10 (1709)

Steps to Reproduce:

  1. Create Markdown file
  2. Paste following text
    ```sql
    select '\' + foo from bar
    ```
  3. View preview

Interestingly, this seems to be an issue in several products... Github and TFS also color this incorrectly... Do they all use the same coloring library?

select '\' + foo from bar

vs

select 'hello' + foo from bar

Does this issue occur when all extensions are disabled?: Yes

@vscodebot vscodebot bot added the markdown Markdown support issues label May 17, 2018
@mjbvz
Copy link
Contributor

mjbvz commented May 17, 2018

We use highlight.js inside the markdown preview for colorization. This is an upstream bug with their sql highlighter

Closing as upstream

@mjbvz mjbvz closed this as completed May 17, 2018
@mjbvz mjbvz added the upstream Issue identified as 'upstream' component related (exists outside of VS Code) label May 17, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
markdown Markdown support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants