mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-15 15:10:30 -08:00
Add change note
This commit is contained in:
parent
a5648f829d
commit
1c1547fe59
1 changed files with 12 additions and 0 deletions
12
editions/tw5.com/tiddlers/releasenotes/5.4.0/#8972.tid
Normal file
12
editions/tw5.com/tiddlers/releasenotes/5.4.0/#8972.tid
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
title: $:/changenotes/5.4.0/#8972
|
||||
description: Multi-valued variables and let filter run prefix
|
||||
release: 5.4.0
|
||||
tags: $:/tags/ChangeNote
|
||||
change-type: enhancement
|
||||
change-category: hackability
|
||||
github-links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/8972
|
||||
github-contributors: Jermolene
|
||||
|
||||
This PR introduces a new filter run prefix `:let` that assigns the result of the filter run to a variable that is made available for the remaining filter runs of the filter expression. It solves the problem that otherwise it is impossible to compute values for filter operator parameters; parameters can only be a literal string, text reference or variable reference. See [[Multi-Valued Variables]] for more details.
|
||||
|
||||
This PR also introduces multi-valued variables, the ability to store a list of results in a variable, not just a single string. They can be assigned with the new `:let` filter run prefix, or the existing `<$let>` widget. The full list of values can be retrieved using round brackets instead of the usual angle brackets. In all other contexts only the first item in the list is used as the variable value.
|
||||
Loading…
Add table
Add a link
Reference in a new issue