mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-23 23:46:52 +00:00
Fix visible transclusion example
This commit is contained in:
parent
e092113f9f
commit
8e4c13382b
@ -5,7 +5,7 @@ Import this component to make all the child transclusions visible.
|
||||
|
||||
Block transclusions are shown in red, and inline transclusions are shown in green.
|
||||
-->
|
||||
\function <$transclude>(tiddler,$tiddler,mode,$mode)
|
||||
\procedure <$transclude>(tiddler,$tiddler,mode,$mode)
|
||||
<!-- Replicate the logic of the transclude widget to determine the output mode, and hence the tag and colour to use for output -->
|
||||
<$let
|
||||
mode={{{ [[$mode]is[variable]then<$mode>!is[blank]] :else[[mode]is[variable]then<mode>!is[blank]] :else[<parseAsInline>match[yes]then[inline]else[block]] }}}
|
||||
|
Loading…
Reference in New Issue
Block a user