Inline Expressions
Most of the text properties support inline expressions for adding icons or coloring text parts. Each expression starts with character {
and ends with character }
. Nested expressions are not supported.
Expression | Example | Since Version | Description |
---|---|---|---|
{sp} |
{sp} |
0.1.0 |
Non-breakable space. |
{tb} |
{tb} |
0.1.0 |
Non-breakable tab. |
{br} |
{br} |
0.1.0 |
Line break. |
{ico:{ICON}} |
{ico:home} |
0.1.0 |
Icon. The |
{ico:{COLOR}:{ICON}} |
{ico:msx-red:home} |
0.1.0 |
Colored icon. The |
{txt:{COLOR}:{TEXT}} |
{txt:msx-red:Hello there!} |
0.1.0 |
Colored text. The |
{chr:{CHARACTER}} |
{chr:copy} |
0.1.145 |
Character entity. The |
{chr:{COLOR}:{CHARACTER}} |
{chr:msx-red:copy} |
0.1.145 |
Colored character entity. The |
{context:{PROPERTY}} |
{context:label} |
0.1.0 |
This is a very special inline expression and can only be used inside the Note: Since version 0.1.110, also the |
{unknown} |
{unknown} |
0.1.0 |
Any unknown expression is returned as it is without the braces (e.g. |