0

Update to 7.1

This commit is contained in:
Rei
2012-08-14 22:13:27 +08:00
parent c48a19bb3f
commit 7d6da30689
84 changed files with 4179 additions and 2385 deletions

View File

@@ -4,16 +4,14 @@ Author: Vladimir Moskva <vladmos@gmail.com>
Website: http://fulc.ru/
*/
hljs.LANGUAGES.tex = function() {
hljs.LANGUAGES['tex'] = function(hljs) {
var COMMAND1 = {
className: 'command',
begin: '\\\\[a-zA-Zа-яА-я]+[\\*]?',
relevance: 10
begin: '\\\\[a-zA-Zа-яА-я]+[\\*]?'
};
var COMMAND2 = {
className: 'command',
begin: '\\\\[^a-zA-Zа-яА-я0-9]',
relevance: 0
begin: '\\\\[^a-zA-Zа-яА-я0-9]'
};
var SPECIAL = {
className: 'special',
@@ -59,4 +57,4 @@ hljs.LANGUAGES.tex = function() {
]
}
};
}();
}(hljs);