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
27 lines
496 B
Plaintext
27 lines
496 B
Plaintext
title: Transclude/CustomWidget/Slotted
|
|
description: Custom widget definition
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
\widget $$mywidget(one:'Jaguar')
|
|
\whitespace trim
|
|
<$text text=<<one>>/>
|
|
<$slot $name="ts-stuff">
|
|
Whale
|
|
</$slot>
|
|
\end
|
|
<$$mywidget one="Dingo">
|
|
<$fill $name="ts-stuff">
|
|
Crocodile
|
|
</$fill>
|
|
</$$mywidget>
|
|
<$$mywidget one="BumbleBee">
|
|
Squirrel
|
|
</$$mywidget>
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p>DingoCrocodileBumbleBeeWhale</p> |