1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-18 15:54:50 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/widgets/TextWidget.tid
00SS 479726c46e Update TextWidget.tid (#3696)
Used Example display method of <<wikitext-example-without-html>> and added another example.
2019-01-15 16:14:50 +00:00

34 lines
726 B
Plaintext

created: 201401191419
modified: 201901150000
tags: Widgets
title: TextWidget
caption: text
text-test: e=mc^^2^^
! Introduction
The text widget displays plain text without parsing it as [[WikiText]], opposite of [[WikifyWidget]].
! Content and Attributes
The content of the `<$text>` widget is not used.
|!Attribute |!Description |
|text |The text to display |
! Example
<$macrocall $name='wikitext-example-without-html' src='<$vars string="//italic//">
* <<string>>
* <$text text=<<string>>/>
</$vars>
' />
<$macrocall $name='wikitext-example-without-html' src='
The text-test field of this tiddler has a field value: <$text text={{!!text-test}}/>
It displays in its normal WikiText format as: {{!!text-test}}
' />