From 35696e431cb9a81b3b1a16ca086530d148550923 Mon Sep 17 00:00:00 2001 From: Leilei332 Date: Fri, 22 Nov 2024 19:32:22 +0800 Subject: [PATCH] Rewrite more macros. --- core/wiki/macros/colour-picker.tid | 2 +- core/wiki/macros/dumpvariables.tid | 2 +- core/wiki/macros/list.tid | 62 +++++++++++++++--------------- core/wiki/macros/thumbnails.tid | 29 +++++++------- core/wiki/macros/translink.tid | 2 +- core/wiki/macros/tree.tid | 41 ++++++++++---------- 6 files changed, 69 insertions(+), 69 deletions(-) diff --git a/core/wiki/macros/colour-picker.tid b/core/wiki/macros/colour-picker.tid index ecbc87d2c..640d353b9 100644 --- a/core/wiki/macros/colour-picker.tid +++ b/core/wiki/macros/colour-picker.tid @@ -46,7 +46,7 @@ tags: $:/tags/Macro --- -<$edit-text tiddler="$:/config/ColourPicker/New" tag="input" default="" placeholder="" class="tc-small-gap-right"/> +<$edit-text tiddler="$:/config/ColourPicker/New" tag="input" default="" placeholder="" class="tc-tiny-gap-right"/> <$edit-text tiddler="$:/config/ColourPicker/New" type="color" tag="input"/> <$set name="colour-picker-value" value={{$:/config/ColourPicker/New}}> <%if [{$:/config/ColourPicker/New}!is[blank]] %> diff --git a/core/wiki/macros/dumpvariables.tid b/core/wiki/macros/dumpvariables.tid index 0ab9e2001..835cddabe 100644 --- a/core/wiki/macros/dumpvariables.tid +++ b/core/wiki/macros/dumpvariables.tid @@ -1,7 +1,7 @@ title: $:/core/macros/dumpvariables tags: $:/tags/Macro -\define dumpvariables() +\procedure dumpvariables() \whitespace trim