mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-06 13:56:45 +00:00
Update TextWidget.tid (#3696)
Used Example display method of <<wikitext-example-without-html>> and added another example.
This commit is contained in:
parent
1f829dd5a8
commit
479726c46e
@ -1,8 +1,9 @@
|
|||||||
created: 201401191419
|
created: 201401191419
|
||||||
modified: 201401190837
|
modified: 201901150000
|
||||||
tags: Widgets
|
tags: Widgets
|
||||||
title: TextWidget
|
title: TextWidget
|
||||||
caption: text
|
caption: text
|
||||||
|
text-test: e=mc^^2^^
|
||||||
|
|
||||||
! Introduction
|
! Introduction
|
||||||
|
|
||||||
@ -17,22 +18,16 @@ The content of the `<$text>` widget is not used.
|
|||||||
|
|
||||||
! Example
|
! Example
|
||||||
|
|
||||||
```
|
<$macrocall $name='wikitext-example-without-html' src='<$vars string="//italic//">
|
||||||
<$vars string="//italic//">
|
|
||||||
|
|
||||||
* <<string>>
|
* <<string>>
|
||||||
* <$text text=<<string>>/>
|
* <$text text=<<string>>/>
|
||||||
|
|
||||||
</$vars>
|
</$vars>
|
||||||
```
|
' />
|
||||||
|
|
||||||
Displays as:
|
<$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}}
|
||||||
<$vars string="//italic//">
|
' />
|
||||||
|
|
||||||
* <<string>>
|
|
||||||
* <$text text=<<string>>/>
|
|
||||||
|
|
||||||
</$vars>
|
|
||||||
<<<
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user