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

This commit is contained in:
btheado
2021-11-25 15:20:30 +00:00
committed by GitHub
parent be3018fe3b
commit 7b311b0e4a
@@ -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>]">>