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:
parent
ce7becd64f
commit
d55a498fca
@ -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>
|
||||||
|
<<<
|
||||||
|
Loading…
Reference in New Issue
Block a user