mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
'Correct' error to eror in lexicon_filter
This changes the error examples in the tutorial to properly show in red
This commit is contained in:
parent
813415302a
commit
67c18c77d0
2 changed files with 4 additions and 4 deletions
|
@ -156,7 +156,7 @@ The following can be used in \\fish blocks to render some fish scenarios. These
|
||||||
<m>: <m>Matched</m> items, such as tab completions.
|
<m>: <m>Matched</m> items, such as tab completions.
|
||||||
<sm>: Matched items <sm>searched</sm> for, like grep results.
|
<sm>: Matched items <sm>searched</sm> for, like grep results.
|
||||||
<bs>: Render the contents with a preceding backslash. Useful when presenting output.
|
<bs>: Render the contents with a preceding backslash. Useful when presenting output.
|
||||||
<error>: <error>This would be shown as an error.</error>
|
<eror>: <eror>This would be shown as an error. (Note eror, not error).</eror>
|
||||||
<asis>: <asis>This text will not be parsed for fish markup.</asis>
|
<asis>: <asis>This text will not be parsed for fish markup.</asis>
|
||||||
<outp>: <outp>This would be rendered as command/script output.</outp>
|
<outp>: <outp>This would be rendered as command/script output.</outp>
|
||||||
{{ and }}: Required when wanting curly braces in regular expression example.
|
{{ and }}: Required when wanting curly braces in regular expression example.
|
||||||
|
|
|
@ -135,9 +135,9 @@ s|<sm [^>]*>|@smtc{|
|
||||||
s|</sm>|}|
|
s|</sm>|}|
|
||||||
#.
|
#.
|
||||||
# ERrOR
|
# ERrOR
|
||||||
s|<error>|@eror{|
|
s|<eror>|@eror{|
|
||||||
s|<error [^>]*>|@eror{|
|
s|<eror [^>]*>|@eror{|
|
||||||
s|</error>|}|
|
s|</eror>|}|
|
||||||
#.
|
#.
|
||||||
# AsIs - protect from auto-formatting
|
# AsIs - protect from auto-formatting
|
||||||
s|<asis>|@asis{|
|
s|<asis>|@asis{|
|
||||||
|
|
Loading…
Reference in a new issue