1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-07 10:34:53 +00:00
TiddlyWiki5/editions/test/tiddlers/tests/data/globals/CustomWidgetAlt.tid

23 lines
465 B
Plaintext
Raw Normal View History

title: Globals/CustomWidgetAlt
description: Global shadow variable defining a custom widget, without using a _parameters field
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: Output
\whitespace trim
<$$mywidget foo="Mahogany">
Sycamore!
</$$mywidget>
+
title: $:/global/$$mywidget
_is_widget: yes
\parameters (foo:"bar")
Koala! <$text text=<<foo>>/>, <$slot $name="ts-raw"/>
+
title: ExpectedResult
<p>Koala! Mahogany, Sycamore!</p>