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

Line-breaks within Markdown comments breaks highlighting #409

Closed
pjpaulpj opened this issue Dec 20, 2016 · 1 comment · Fixed by #607
Closed

Line-breaks within Markdown comments breaks highlighting #409

pjpaulpj opened this issue Dec 20, 2016 · 1 comment · Fixed by #607
Labels
C: syntax Category: syntax definition

Comments

@pjpaulpj
Copy link

pjpaulpj commented Dec 20, 2016

In MarkdownEditing, comments of this form are highlighted properly:

[//]: # (This is a comment without a line-break.)

While comments of this form are not:
[//]: # (This is a comment with a line-break.)

Screnshot
Screen-shot

I'd like to change this so that the highlighting is not affected by line-breaks.

I used Package Resource Viewer and Color Scheme Editor to try and edit the colour scheme. But, I'm not sure how and what to edit in the .tmTheme xml file.

@pjpaulpj pjpaulpj reopened this Jan 13, 2017
@felixhao28
Copy link
Contributor

It is definitely a syntax parsing bug but it is not easy to fix. Thanks for reporting anyway.

@felixhao28 felixhao28 added the bug label Jan 16, 2017
keith-hall added a commit to forkeith/Packages that referenced this issue Feb 22, 2017
useful for comments when people don't want to use HTML comments - see SublimeText-Markdown/MarkdownEditing#409
@felixhao28 felixhao28 added C: syntax Category: syntax definition and removed bug labels Aug 3, 2017
@deathaxe deathaxe added the bug label May 30, 2021
@deathaxe deathaxe mentioned this issue Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: syntax Category: syntax definition
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants