1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-20 11:19:45 +00:00
TiddlyWiki5/editions/test/tiddlers/tests/data/globals/CustomWidget.tid

22 lines
427 B
Plaintext
Raw Normal View History

title: Globals/CustomWidget
description: Global shadow variable defining a custom widget
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>