From fa86631d2e7acfe11755b7e60094cc5778a91e0f Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Tue, 13 Sep 2022 16:29:09 +0100 Subject: [PATCH] Improve indentation See https://github.com/Jermolene/TiddlyWiki5/pull/6666#discussion_r967655251 --- core/ui/ViewTemplate/body/global.tid | 34 +++++++++++++++------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/core/ui/ViewTemplate/body/global.tid b/core/ui/ViewTemplate/body/global.tid index 66b132554..bd9d0a001 100644 --- a/core/ui/ViewTemplate/body/global.tid +++ b/core/ui/ViewTemplate/body/global.tid @@ -1,23 +1,25 @@ title: $:/core/ui/ViewTemplate/body/global +\whitespace trim + \procedure display-global()
-
-

-<$let - name={{{ [removeprefix[$:/global/]] }}} - type={{{ [{!!_is_macro}match[yes]then[macro]] :else[{!!_is_function}match[yes]then[function]] :else[{!!_is_procedure}match[yes]then[procedure]] :else[{!!_is_widget}match[yes]then[widget]] :else[[variable]] }}} -> -{{$:/language/Globals/Caption}} - -

-<$list filter="[has[_parameters]]" variable="ignore"> -{{$:/language/Globals/Parameters/Caption}} -
<$text text={{!!_parameters}}/>
- -
-{{$:/language/Globals/Text/Caption}} -<$transclude tiddler="$:/core/ui/ViewTemplate/body/code"/> +
+

+ <$let + name={{{ [removeprefix[$:/global/]] }}} + type={{{ [{!!_is_macro}match[yes]then[macro]] :else[{!!_is_function}match[yes]then[function]] :else[{!!_is_procedure}match[yes]then[procedure]] :else[{!!_is_widget}match[yes]then[widget]] :else[[variable]] }}} + > + {{$:/language/Globals/Caption}} + +

+ <$list filter="[has[_parameters]]" variable="ignore"> + {{$:/language/Globals/Parameters/Caption}} +
<$text text={{!!_parameters}}/>
+ +
+ {{$:/language/Globals/Text/Caption}} + <$transclude tiddler="$:/core/ui/ViewTemplate/body/code"/>
\end