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 was 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
Better support for info strings in fenced code blocks containing more than just the language
If I start a fenced code block, and add an info string like py, the fenced code block will be highlighted as Python. So far so good. But if I make it py base.py, e.g., Atom stops formatting the code block as Python because language-gfm parses the entire info string, including trailing characters, as the language name (a guess).
Consider interpreting the info string’s text only up to the the first whitespace/punctuation as the language specifier?
Steps to Reproduce
Create a fenced code block with ticks.
Add a language specification to after the opening triplet and confirm that the code is highlighted as that language
Add a space and some more text.
Expected behavior: The code block retains the syntax highlighting
Actual behavior: The code block is shown as a plain codeblock as if it lacked an info string