Allowed . in markdown language blocks

Updated markdown highlighter to allow stuff like ```python.run
This commit is contained in:
Benjamin Wheeler 2014-02-17 16:33:05 -05:00
commit 7439993b1a

View file

@ -79,7 +79,7 @@ var MarkdownHighlightRules = function() {
github_embed("css", "csscode-"),
{ // Github style block
token : "support.function",
regex : "^```\\s*[a-zA-Z]*(?:{.*?\\})?\\s*$",
regex : "^```\\s*[a-zA-Z\.]*(?:{.*?\\})?\\s*$",
next : "githubblock"
}, { // block quote
token : "string.blockquote",