Thanks, that helped me find the issue! In $:/themes/nico/notebook/ui/Sidebar/SectionTemplate
, change the line
<$transclude $tiddler=<<currentTiddler>> mode="block"/>
to either (legacy syntax)
<$transclude tiddler=<<currentTiddler>> mode="block"/>
or (modern syntax)
<$transclude $tiddler=<<currentTiddler>> $mode="block"/>
and that should solve your problem.
To understand what went wrong here and why this fixes it, we need to look at the transclude widget. You’ll see that the Attributes table includes two columns, one for modern and one for legacy attributes. $tiddler
belongs to the modern category, and using it (or any attribute prefixed with $
) automatically moves you into modern mode, where any attribute that doesn’t start with $
will be treated as an additional parameter to the transclusion — analagous to defining a variable. So the mode
in your code was treated as a nonexistent parameter, and didn’t actually force the parser into block mode.
You can use either legacy or modern mode without issue, but you do need to be consistent to avoid this sort of problem.