atom / language-gfm

GitHub Flavored Markdown in Atom
MIT License
101 stars 108 forks source link

Syntax highlighting is broken after any YAML code block #191

Closed callumlocke closed 7 years ago

callumlocke commented 7 years ago

Prerequisites

Description

image

Steps to Reproduce

  1. Make a new file and set syntax to "GitHub Markdown"
  2. Make a code block tagged as yml and enter any valid YAML string inside it
  3. Add some more paragraphs/headings/whatever underneath the code block

Expected behavior: Syntax highlighting should work.

Actual behavior: Syntax highlighting is broken for everything after the YAML code block.

Reproduces how often: 100%

Versions

Atom : 1.15.0 Electron: 1.3.13 Chrome : 52.0.2743.82 Node : 6.5.0

OS X El Capitan 10.11.6 (15G1108)

winstliu commented 7 years ago

This has been fixed in the latest language-yaml version and should be fixed in Atom 1.16.0.