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

YAML syntax highlighting has issues wrong when using block literals in markdown front matter #59667

Closed
Tracked by #1
DeepakTivari opened this issue Sep 29, 2018 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug grammar Syntax highlighting grammar help wanted Issues identified as good community contribution opportunities markdown Markdown support issues verified Verification succeeded
Milestone

Comments

@DeepakTivari
Copy link

  • VSCode Version: Version: 1.27.1
  • OS Version: Ubuntu 16.04.5 LTS

Steps to Reproduce:

  1. Create a file ABC.md
  2. paste the below YAML front matter
---
ABC:
  - title: ABC  
    description: |
      Hello hello

    images: 
    - ABC.jpg

  - title: ABC  
    description: |
      Hello

    images: 
    - ABC.jpg
---

Syntax highlighting is messed up after the block literal.

screenshot from 2018-09-28 23-50-42

Does this issue occur when all extensions are disabled?: Yes/No
Yes

@mjbvz mjbvz self-assigned this Sep 29, 2018
@mjbvz mjbvz added bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities markdown Markdown support issues grammar Syntax highlighting grammar labels Oct 4, 2018
@mjbvz mjbvz modified the milestones: September 2018, October 2018 Oct 5, 2018
@octref octref added the verified Verification succeeded label Nov 1, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug grammar Syntax highlighting grammar help wanted Issues identified as good community contribution opportunities markdown Markdown support issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants