mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-03 12:53:34 -05:00
Merge pull request #1839 from overleaf/ns-add-vref
add vref GitOrigin-RevId: aa311141873f818830dcfa5ea63f0420549b5dd9
This commit is contained in:
parent
a8edafe104
commit
2f14426876
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ var LatexHighlightRules = function() {
|
||||||
regex : "(\\\\(?:documentclass|usepackage|input))(?:(\\[)([^\\]]*)(\\]))?({)([^}]*)(})"
|
regex : "(\\\\(?:documentclass|usepackage|input))(?:(\\[)([^\\]]*)(\\]))?({)([^}]*)(})"
|
||||||
}, {
|
}, {
|
||||||
token : ["keyword", "lparen", "variable.parameter", "rparen"],
|
token : ["keyword", "lparen", "variable.parameter", "rparen"],
|
||||||
regex : "(\\\\(?:label|(?:eq|page|c|C)?ref|cite(?:[^{]*)))(?:({)([^}]*)(}))?"
|
regex : "(\\\\(?:label|(?:eq|page|v|c|C)?ref|cite(?:[^{]*)))(?:({)([^}]*)(}))?"
|
||||||
}, {
|
}, {
|
||||||
token : ["storage.type", "lparen", "variable.parameter", "rparen"],
|
token : ["storage.type", "lparen", "variable.parameter", "rparen"],
|
||||||
regex : "(\\\\begin)({)(verbatim)(})",
|
regex : "(\\\\begin)({)(verbatim)(})",
|
||||||
|
|
Loading…
Reference in a new issue