8000 Merge branch '3.4' into 4.3 · symfony/symfony-docs@5118c01 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5118c01

Browse files
committed
Merge branch '3.4' into 4.3
* 3.4: Updated the lexer used to highlight terminal blocks
2 parents c2e4d6e + eebc2e4 commit 5118c01

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)
0