mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 14:02:05 -06:00
docs/sphinx/qmp_lexer: Highlight elisions like comments, not prompts
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20250404121413.1743790-8-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
bc361f2f9b
commit
6d7b3efc3f
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class QMPExampleMarkersLexer(RegexLexer):
|
||||||
'root': [
|
'root': [
|
||||||
(r'-> ', token.Generic.Prompt),
|
(r'-> ', token.Generic.Prompt),
|
||||||
(r'<- ', token.Generic.Prompt),
|
(r'<- ', token.Generic.Prompt),
|
||||||
(r'\.{3}( .* \.{3})?', token.Generic.Prompt),
|
(r'\.{3}( .* \.{3})?', token.Comment.Multiline),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue