mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
Fix docs syntax highlighting errors (#50836)
* Add support for [WARNING]: ... * Fix unreachable/failed output lexing. * Detecting retry/--limit lines. * Removing strange (invisible) characters which cause lexing problems. * Using better-fitting lexers. * Improve YAML lexing: don't accept quotes in keys. * Add Django lexer (unchanged) from Pygments. * Add support for != and % operators.
This commit is contained in:
parent
6345ea2925
commit
f6122fb63b
9 changed files with 164 additions and 35 deletions
|
@ -170,7 +170,9 @@ you can use escapes::
|
|||
|
||||
The list of allowed escapes can be found in the YAML Specification under "Escape Sequences" (YAML 1.1) or "Escape Characters" (YAML 1.2).
|
||||
|
||||
The following is invalid YAML::
|
||||
The following is invalid YAML:
|
||||
|
||||
.. code-block:: text
|
||||
|
||||
foo: "an escaped \' single quote"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue