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

Missing markdown code highlighting with word wrap #152

Closed
justanotheranonymoususer opened this issue Dec 11, 2023 · 2 comments
Closed

Missing markdown code highlighting with word wrap #152

justanotheranonymoususer opened this issue Dec 11, 2023 · 2 comments

Comments

@justanotheranonymoususer

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

Version: 1.85.0 (user setup)
Commit: af28b32d7e553898b2a91af498b1fb666fdebe0c
Date: 2023-12-06T20:48:09.019Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.22621

Steps to Reproduce:

  1. See screenshot above
  2. The first code words ("dummy text") isn't highlighted as code in the editor, unlike the second words ("right here"), because of the line break.

image

GitHub highlighting makes the same mistake BTW, maybe a Microsoft thing :)

Lorem Ipsum is simply `dummy
text` of the printing and typesetting industry.

More code `right here`.

Lorem Ipsum is simply dummy text of the printing and typesetting industry.

More code right here.

@RedCMD
Copy link
Contributor

RedCMD commented Dec 11, 2023

Sadly its impossible to fix this with TextMate syntax highlighters
as if the ending ` is missing, TextMate is unable to check the other lines before validating

@mjbvz mjbvz transferred this issue from microsoft/vscode Dec 11, 2023
@mjbvz mjbvz removed their assignment Dec 11, 2023
@mjbvz
Copy link
Contributor

mjbvz commented Dec 11, 2023

Duplicate of #36

@mjbvz mjbvz marked this as a duplicate of #36 Dec 11, 2023
@mjbvz mjbvz closed this as completed Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants