Allowed . in markdown language blocks
Updated markdown highlighter to allow stuff like ```python.run
This commit is contained in:
parent
e4cfb47ae1
commit
7439993b1a
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ var MarkdownHighlightRules = function() {
|
||||||
github_embed("css", "csscode-"),
|
github_embed("css", "csscode-"),
|
||||||
{ // Github style block
|
{ // Github style block
|
||||||
token : "support.function",
|
token : "support.function",
|
||||||
regex : "^```\\s*[a-zA-Z]*(?:{.*?\\})?\\s*$",
|
regex : "^```\\s*[a-zA-Z\.]*(?:{.*?\\})?\\s*$",
|
||||||
next : "githubblock"
|
next : "githubblock"
|
||||||
}, { // block quote
|
}, { // block quote
|
||||||
token : "string.blockquote",
|
token : "string.blockquote",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue