1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Docs: Clarify TextWidget with example (#3564)

This commit is contained in:
Bimba Laszlo 2018-11-21 12:26:00 +01:00 committed by Jeremy Ruston
parent ce7becd64f
commit d55a498fca

View File

@ -6,7 +6,7 @@ caption: text
! Introduction ! Introduction
The text widget displays plain text. The text widget displays plain text without parsing it as [[WikiText]], opposite of [[WikifyWidget]].
! Content and Attributes ! Content and Attributes
@ -14,3 +14,25 @@ The content of the `<$text>` widget is not used.
|!Attribute |!Description | |!Attribute |!Description |
|text |The text to display | |text |The text to display |
! Example
```
<$vars string="//italic//">
* <<string>>
* <$text text=<<string>>/>
</$vars>
```
Displays as:
<<<
<$vars string="//italic//">
* <<string>>
* <$text text=<<string>>/>
</$vars>
<<<