There was an error while loading. Please reload this page.
1 parent aefad1b commit 41101dcCopy full SHA for 41101dc
markdown/extensions/codehilite.py
@@ -166,7 +166,7 @@ def _parseHeader(self):
166
c = re.compile(r'''
167
(?:(?:^::+)|(?P<shebang>^[#]!)) # Shebang or 2 or more colons
168
(?P<path>(?:/\w+)*[/ ])? # Zero or 1 path
169
- (?P<lang>[\w+-]*) # The language
+ (?P<lang>[\w#.+-]*) # The language
170
\s* # Arbitrary whitespace
171
# Optional highlight lines, single- or double-quote-delimited
172
(hl_lines=(?P<quot>"|')(?P<hl_lines>.*?)(?P=quot))?
0 commit comments