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

markdown bug #1107

Closed
oldrich-s opened this issue Oct 12, 2018 · 1 comment
Closed

markdown bug #1107

oldrich-s opened this issue Oct 12, 2018 · 1 comment

Comments

@oldrich-s
Copy link

monaco-editor version: 0.14.2
Browser: Chrome
OS: Win10 x60
Steps or JS usage snippet reproducing the issue:

Execute:

monaco.editor.create(document.getElementById("container"), {
	value: "{{{test}}}",
	language: "markdown"
});

on this webpage:

https://microsoft.github.io/monaco-editor/playground.html

The coloring is broken.

Change vs/basic-languages/markdown/markdown.js:

[/\{[^}]+\}/, 'string.target'],

into this:

[/\{+[^}]+\}+/, 'string.target'],

The coloring is fixed.

@AasthaGupta
Copy link

AasthaGupta commented Oct 13, 2018

@alexandrudima I'd like to work on this. This seems like a change in the monaco-language repository (https://github.com/Microsoft/monaco-languages/blob/master/src/markdown/markdown.ts#L134)
screen shot

AasthaGupta added a commit to AasthaGupta/monaco-languages that referenced this issue Oct 16, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants