Thank you Saq. Your solution is minimal and semantic!

--Mohammad

On Monday, December 14, 2020 at 1:25:13 PM UTC+3:30 [email protected] 
wrote:

> @Mohammad
>
> You can simplify 
> <$button actions=<<cycle-palettes>> > <$text text={{{ 
> [[$:/palette]get[text]removeprefix[$:/palettes/]]}}}/> </$button> 
>
> to:
>
> <$button actions=<<cycle-palettes>> >
> <$text text={{{ [{$:/palette}get[name]]}}}/>
> </$button>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a7110336-2a65-439d-aadc-614f42a4b1a5n%40googlegroups.com.

Reply via email to