summaryrefslogtreecommitdiff
path: root/pygments/lexers/markup.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/markup.py')
-rw-r--r--pygments/lexers/markup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pygments/lexers/markup.py b/pygments/lexers/markup.py
index 97d20bae..71a9aa82 100644
--- a/pygments/lexers/markup.py
+++ b/pygments/lexers/markup.py
@@ -289,6 +289,7 @@ class TexLexer(RegexLexer):
(r'\$\$', String.Backtick, 'displaymath'),
(r'\$', String, 'inlinemath'),
(r'\\([a-zA-Z]+|.)', Keyword, 'command'),
+ (r'\\$', Keyword),
include('general'),
(r'[^\\$%&_^{}]+', Text),
],