Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

allows annotation in markdown language block headers #61

Merged
merged 1 commit into from
Mar 4, 2019

Conversation

samghelms
Copy link
Contributor

@samghelms samghelms commented Feb 3, 2019

Currently, syntax highlighting for code blocks in markdown files fails if you have anything after the language name other than whitespace.

example:

```python {annotation: test}
for x in y:
    x = 5

VSCode allows you to put annotation in code block headers, so this pull request fixes the syntax highlighting to match VSCode's behavior. The ability to add annotation is important for interactive computing tools like rmarkdown or imarkdown.

@alexdima
Copy link
Member

alexdima commented Mar 4, 2019

👍 Thank you!

@alexdima alexdima added this to the February 2019 milestone Mar 4, 2019
@alexdima alexdima merged commit 125ea00 into microsoft:master Mar 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants