From f4979dcdfd64cacc469d064c8e5347150199d918 Mon Sep 17 00:00:00 2001 From: lin onetwo Date: Sun, 8 Jun 2025 23:16:55 +0800 Subject: [PATCH] Update ViewWidget.tid (#9082) --- editions/tw5.com/tiddlers/widgets/ViewWidget.tid | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/editions/tw5.com/tiddlers/widgets/ViewWidget.tid b/editions/tw5.com/tiddlers/widgets/ViewWidget.tid index ca5231d83..5821420c0 100644 --- a/editions/tw5.com/tiddlers/widgets/ViewWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/ViewWidget.tid @@ -55,6 +55,15 @@ The following example will view the core version of the tiddler [[$:/DefaultTidd '>> +To transclude a subtiddler with codeblock visual style, wrap it with pre, and set the mode and format attributes: + +< +<$view tiddler="$:/core" subtiddler="$:/core/ui/ControlPanel/ViewTemplateTags" mode=block format=text/> + + +'>> + ! Examples Given this [[Saturday]] example tiddler: