mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Ensure the operator examples have unique id (#6153)
The first parameter of the operator examples macro is used for constructing unique state tiddler titles. The cycle, log, and match operators had duplicates, causing examples to share state with each other.
This commit is contained in:
parent
71be167592
commit
d9eb5499a3
@ -18,4 +18,4 @@ Cycle through a list of values to add as a tag, in reverse order:
|
||||
|
||||
<<.using-days-of-week>>
|
||||
<<.operator-example 1 """[list[Days of the Week]first[]] +[cycle{Days of the Week!!list}]""">>
|
||||
<<.operator-example 1 """[list[Days of the Week]first[]] +[cycle{Days of the Week!!list},[2]]""">>
|
||||
<<.operator-example 2 """[list[Days of the Week]first[]] +[cycle{Days of the Week!!list},[2]]""">>
|
||||
|
@ -11,4 +11,4 @@ Logarithm of `100` with base `10`:
|
||||
<<.operator-example 2 "[[100]log[10]]">>
|
||||
|
||||
Natural logarithm of 10 (base `e`), equivalent to `ln(10)` in mathematics:
|
||||
<<.operator-example 2 "[[10]log[]]">>
|
||||
<<.operator-example 3 "[[10]log[]]">>
|
||||
|
@ -5,4 +5,4 @@ title: match Operator (Examples)
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
<<.operator-example 1 "a b c +[match[b]]">>
|
||||
<<.operator-example 1 "[match[HelloThere]]">>
|
||||
<<.operator-example 2 "[match[HelloThere]]">>
|
||||
|
Loading…
Reference in New Issue
Block a user