Fix incorrect example in tab template docs
Should be fmt.bg.default not fmt.bg.normal Fixes #4360
This commit is contained in:
parent
99d06f0714
commit
832f73fde9
@ -1072,7 +1072,7 @@ is done by Python's string formatting machinery, so you can use, for instance,
|
|||||||
layout name, upper-cased. If you want to style the text, you can use styling
|
layout name, upper-cased. If you want to style the text, you can use styling
|
||||||
directives, for example:
|
directives, for example:
|
||||||
:code:`{fmt.fg.red}red{fmt.fg.default}normal{fmt.bg._00FF00}green
|
:code:`{fmt.fg.red}red{fmt.fg.default}normal{fmt.bg._00FF00}green
|
||||||
bg{fmt.bg.normal}`. Similarly, for bold and italic:
|
bg{fmt.bg.default}`. Similarly, for bold and italic:
|
||||||
:code:`{fmt.bold}bold{fmt.nobold}normal{fmt.italic}italic{fmt.noitalic}`.
|
:code:`{fmt.bold}bold{fmt.nobold}normal{fmt.italic}italic{fmt.noitalic}`.
|
||||||
'''
|
'''
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user