You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
The parser of markdown-preview seems to not recognize well the delimiter of a code block written directly after a list without any empty line, although it is properly handled on Github.
Actually, it seems like markdown-preview is trying to embed the code block at the list level but fail to recognize the end of the code block, whereas Github rendering makes the choice to render all code block outside of the list level.
CTRL+SHIFT+M to activate the vanilla Markown Preview
Edit by @rsese - for step 1, copy paste this content
## ✅ on github.com ✅ on Atom with no line between a list and a code block
- abcd
```
efgh
---
- xyz
123
```
## ✅ on github.com ❌ on Atom with no line between a list and a code block
- abcd
```
efgh
---
- xyz
123
```
Expected behavior:
Preview on Atom should match the one offered by Github:
Thanks again for the heads up about this - just wanted to mention that we looked at this again today and decided to close in favor of #342 if you want to subscribe there.
Prerequisites
Description
The parser of markdown-preview seems to not recognize well the delimiter of a code block written directly after a list without any empty line, although it is properly handled on Github.
Actually, it seems like markdown-preview is trying to embed the code block at the list level but fail to recognize the end of the code block, whereas Github rendering makes the choice to render all code block outside of the list level.
Steps to Reproduce
https://gist.github.com/piroux/0caf3509cd000e254dab357025c9faf1
Edit by @rsese - for step 1, copy paste this content
Expected behavior:
Preview on Atom should match the one offered by Github:
Actual behavior:
Reproduces how often:
Always
Versions
OS: Ubuntu 18.04 x64
Atom: 1.40.0
Electron: 3.1.10
Chrome: 66.0.3359.181
Node: v10.2.0
Additional Information
Other issues related to code preview already filed here:
The text was updated successfully, but these errors were encountered: