Skip to content

Commit 2e2a869

Browse files
committed
Updated the lexer used to highlight terminal blocks
1 parent 3c9995a commit 2e2a869

File tree

1 file changed

+1
-1
lines changed
  • _build/_themes/_exts/symfonycom/sphinx

1 file changed

+1
-1
lines changed

_build/_themes/_exts/symfonycom/sphinx/lexer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class TerminalLexer(RegexLexer):
1010
tokens = {
1111
'root': [
1212
('^\$', Generic.Prompt, 'bash-prompt'),
13-
('^[^\n>]+>', Generic.Prompt, 'dos-prompt'),
13+
('^C:\\[^\n>]+>', Generic.Prompt, 'dos-prompt'),
1414
('^#.+$', Comment.Single),
1515
('^.+$', Generic.Output),
1616
],

0 commit comments

Comments
 (0)