accept js in markdown highlighter

This commit is contained in:
nightwing 2012-06-08 00:36:49 +04:00
commit 39859015a7

View file

@ -80,7 +80,7 @@ var MarkdownHighlightRules = function() {
return "markup.heading." + value.length; return "markup.heading." + value.length;
}, },
regex : "^#{1,6}" regex : "^#{1,6}"
}, github_embed("javascript", "js-"), }, github_embed("(?:javascript|js)", "js-"),
github_embed("xml", "xml-"), github_embed("xml", "xml-"),
github_embed("html", "html-"), github_embed("html", "html-"),
github_embed("css", "css-"), github_embed("css", "css-"),