mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-07 02:26:19 +00:00
79b20bdaa8
Previously we were wrapping the body in an implicit `<$fill $name="ts-body">` widget
22 lines
427 B
Plaintext
22 lines
427 B
Plaintext
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> |