1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 02:19:55 +00:00

Fix duplicate example id for map filter run prefix (#6281)

This commit is contained in:
btheado 2021-11-25 10:20:30 -05:00 committed by GitHub
parent be3018fe3b
commit 7b311b0e4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
created: 20210618134753828
modified: 20211029082538212
modified: 20211125145519506
tags: [[Filter Syntax]] [[Filter Run Prefix Examples]] [[Map Filter Run Prefix]]
title: Map Filter Run Prefix (Examples)
type: text/vnd.tiddlywiki
@ -16,4 +16,4 @@ For each title in a shopping list, calculate the total cost of purchasing each i
<<.operator-example 2 "[tag[shopping]] :map[get[quantity]else[0]multiply{!!price}]">>
For each title in a shopping list, prefix it with its position in the list:
<<.operator-example 2 "[tag[shopping]] :map[<currentTiddler>addprefix[-]addprefix<index>]">>
<<.operator-example 3 "[tag[shopping]] :map[<currentTiddler>addprefix[-]addprefix<index>]">>