Format
Specifys the enclosed content's formats, being either enabled, disabled or unset (default). In order to reset all prior formatting back to the default, use the corresponding tag:
<reset>My text</reset>
Immediate
Both the full format as well as it's shorthand may be used as tag-names (also supporting the ubiquitous ampersand-sequences); prepend a bang in order to disable this style (and don't forget to mirror it in the closing-tag too!). For most cases, the positive version of each tag will suffice.
Format | Short | Example |
---|---|---|
bold | b &l |
|
italic | i &o |
|
underlined | u &n |
|
strikethrough | st &m |
|
obfuscated | obf &k |
|
Dynamic
If the format is to be driven by data, there exists the explicit tag which takes each individual style as an attribute of corresponding name, accepting nullable booleans (null means unset).
<format
[bold]="<expression>"
[italic]="<expression>"
[underlined]="<expression>"
[strikethrough]="<expression>"
[obfuscated]="<expression>"
>My text</format>