From d55a498fca81cfe5dc85f2404421b9519e2ebb23 Mon Sep 17 00:00:00 2001 From: Bimba Laszlo Date: Wed, 21 Nov 2018 12:26:00 +0100 Subject: [PATCH] Docs: Clarify TextWidget with example (#3564) --- .../tw5.com/tiddlers/widgets/TextWidget.tid | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/editions/tw5.com/tiddlers/widgets/TextWidget.tid b/editions/tw5.com/tiddlers/widgets/TextWidget.tid index adbab5afd..5e425ed78 100644 --- a/editions/tw5.com/tiddlers/widgets/TextWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/TextWidget.tid @@ -6,7 +6,7 @@ caption: text ! Introduction -The text widget displays plain text. +The text widget displays plain text without parsing it as [[WikiText]], opposite of [[WikifyWidget]]. ! Content and Attributes @@ -14,3 +14,25 @@ The content of the `<$text>` widget is not used. |!Attribute |!Description | |text |The text to display | + +! Example + +``` +<$vars string="//italic//"> + +* <> +* <$text text=<>/> + + +``` + +Displays as: + +<<< +<$vars string="//italic//"> + +* <> +* <$text text=<>/> + + +<<<