Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Markdown Preview gets confused by ```language #530

Open
Skeeve opened this issue Mar 2, 2018 · 1 comment
Open

Markdown Preview gets confused by ```language #530

Skeeve opened this issue Mar 2, 2018 · 1 comment

Comments

@Skeeve
Copy link

Skeeve commented Mar 2, 2018

Description

Example (I've put a space between the backticks just here):

 ` ` ` javascript
 window.addEventListener("load", function() {
 ` ` `

Then we define the URL from …

The text after the code is still coloured in red

Steps to Reproduce

  1. Create a markdown file
  2. put above example in
  3. see text after the code still being coloured

Expected behavior: Coloring just up to ```

Actual behavior: Coloring even after ```

Reproduces how often: 100%

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

Atom    : 1.24.0
Electron: 1.6.16
Chrome  : 56.0.2924.87
Node    : 7.4.0
apm  1.18.12
npm  3.10.10
node 6.9.5 x64
atom 1.24.0
python 2.7.10
git 2.14.3
Darwin MacBook-Pro.local 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64
markdown-preview 0.159.20
@Skeeve
Copy link
Author

Skeeve commented Mar 2, 2018

Sorry - I just noticed - seems to be due to the incomplete code :(

I use this for documentation purposes, breaking my code into pieces and so the code is not finished at that location.

I think it's okay if you say this is a "won't fix".

Bitbucket and Github seem to handle it as I expect it.

See:

 window.addEventListener("load", function() {

Then we define the URL from …

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

1 participant