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

Incorrect Markdown Colorizaiton for Block Element on Line Immediatly After a Paragraph #12946

Closed
mjbvz opened this issue Sep 28, 2016 · 0 comments · Fixed by #18531
Closed

Incorrect Markdown Colorizaiton for Block Element on Line Immediatly After a Paragraph #12946

mjbvz opened this issue Sep 28, 2016 · 0 comments · Fixed by #18531
Assignees
Labels
markdown Markdown support issues

Comments

@mjbvz
Copy link
Collaborator

mjbvz commented Sep 28, 2016

For a markdown file like this:

text text text 
1. list
2. list

.

text text text 
<div>
  **html**
</div>

.

text text text 
```js
var code = code;
```

The numbered list, html block, and fenced code block elements following the line are nor properly colorized. They are rendered properly in the preview.

image

In the case of the html, the **html** text should not be colorized since it is html content, not markdown.

Adding a blank line after the paragraph fixes the colorization.

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
markdown Markdown support issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant