1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-17 17:59:45 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/examples
Robin Munn 18d8173dcc
New insertafter filter operator (#6771)
* Implement insertafter operator (like insertbefore)

Currently, the behavior of insertafter if the target is not found is to
append the inserted tiddler to the end of the list, like insertbefore
does. In the next commit, we'll add a suffix to customize what both
insertafter and insertbefore do when the target is not found.

* Add failing tests for insertafter suffixes

Also includes tests for insertbefore suffixes (start/end), since we'll
be implementing both of those at the same time.

* Add start/end suffixes for insertafter/before

The tests that exercise the start/end suffixes now pass.
2022-07-13 17:08:17 +01:00
..
abs Operator (Examples).tid Final chunk of docs for new maths/string operators 2019-06-13 16:53:23 +01:00
acos Operator (Examples).tid Add documentation and examples for the trigonometric filter operators (#6131) 2021-10-22 11:35:47 +01:00
add Operator (Examples).tid Fixes for 7fcdc83ba 2019-06-12 11:34:07 +01:00
addprefix.tid Overhaul the filter operator documentation: part 1 2015-01-18 18:39:00 +00:00
addsuffix.tid Overhaul the filter operator documentation: part 1 2015-01-18 18:39:00 +00:00
after.tid Overhaul the filter operator documentation: part 1 2015-01-18 18:39:00 +00:00
all.tid Overhaul the filter operator documentation: part 1 2015-01-18 18:39:00 +00:00
allafter.tid Remove modifier/modified/revision fields from #2037 2015-12-06 19:11:41 +00:00
allbefore.tid Add a new example that shows using all before to determine the nummeric position of a title in a list. (#4412) 2020-01-14 16:55:53 +00:00
append.tid Remove modifier/modified/revision fields from #2037 2015-12-06 19:11:41 +00:00
asin Operator (Examples).tid Add documentation and examples for the trigonometric filter operators (#6131) 2021-10-22 11:35:47 +01:00
atan2 Operator (Examples).tid Add documentation and examples for the trigonometric filter operators (#6131) 2021-10-22 11:35:47 +01:00
atan Operator (Examples).tid Add documentation and examples for the trigonometric filter operators (#6131) 2021-10-22 11:35:47 +01:00
average Operator (Examples).tid Add "average" filter operator for arithmetic mean (#5612) 2021-04-27 10:09:13 +01:00
backlinks.tid Overhaul the filter operator documentation: part 1 2015-01-18 18:39:00 +00:00
before.tid Overhaul the filter operator documentation: part 1 2015-01-18 18:39:00 +00:00
Brownies.tid Add "reduce" and "filter" operators 2020-10-06 19:20:03 +01:00
butlast.tid Make butlast[0] consistent with rest (#6483) 2022-02-26 09:42:24 +00:00
ceil Operator (Examples).tid Final chunk of docs for new maths/string operators 2019-06-13 16:53:23 +01:00
charcode.tid Add charcode operator to make it easier to generate strings containing control characters 2021-06-22 21:52:00 +01:00
Chick Peas.tid Add "reduce" and "filter" operators 2020-10-06 19:20:03 +01:00
commands.tid Overhaul the filter operator documentation: part 1 2015-01-18 18:39:00 +00:00
compare Operator (Examples).tid Add new compare filter operator 2020-04-13 10:03:01 +01:00
contains Operator (Examples).tid Add "contains" filter operator for searching list fields 2018-08-15 13:50:07 +01:00
cos Operator (Examples).tid Add documentation and examples for the trigonometric filter operators (#6131) 2021-10-22 11:35:47 +01:00
count_Operator_(Examples).tid Add new "count" filter operator 2017-02-08 20:11:44 +00:00
cycle Operator (Examples).tid Ensure the operator examples have unique id (#6153) 2021-10-30 15:54:57 +01:00
days.tid days filter – docs and examples optimisations (#2972) 2017-09-16 15:29:44 +01:00
decodehtml_Operator_(Examples).tid Add new filter operators for various string encoding/decodings 2016-10-18 09:18:32 +01:00
decodeuri_Operator_(Examples).tid Add new filter operators for various string encoding/decodings 2016-10-18 09:18:32 +01:00
decodeuricomponent_Operator_(Examples).tid Add new filter operators for various string encoding/decodings 2016-10-18 09:18:32 +01:00
deserializers Operator (Examples).tid Deserializers[] filter operator (#5673) 2021-05-22 10:50:11 +01:00
divide Operator (Examples).tid Fixes for 7fcdc83ba 2019-06-12 11:34:07 +01:00
each.tid Bugfix/3117 inconsistent each (#3124) 2018-02-17 18:51:18 +00:00
eachday.tid Overhaul the filter operator documentation: part 1 2015-01-18 18:39:00 +00:00
else Operator (Examples).tid Add then and else operators 2019-08-02 14:27:58 +01:00
encodehtml_Operator_(Examples).tid Add new filter operators for various string encoding/decodings 2016-10-18 09:18:32 +01:00
encodeuri_Operator_(Examples).tid Add new filter operators for various string encoding/decodings 2016-10-18 09:18:32 +01:00
encodeuricomponent_Operator_(Examples).tid Add new filter operators for various string encoding/decodings 2016-10-18 09:18:32 +01:00
enlist Operator (Examples).tid Extend the enlist operator to optionally not de-duplicate 2019-06-10 17:54:46 +01:00
enlist-input Operator (Examples).tid "dedupe" and "raw" suffixes for enlist-input operator (#5152) 2020-11-30 17:52:46 +00:00
escapecss Operator (Examples).tid Use Resources tag for escapecss examples (#4040) 2019-07-02 16:25:34 +01:00
escaperegexp_Operator_(Examples).tid Add new filter operators for various string encoding/decodings 2016-10-18 09:18:32 +01:00
exponential Operator (Examples).tid Fixes for 7fcdc83ba 2019-06-12 11:34:07 +01:00
field.tid Overhaul the filter operator documentation: part 1 2015-01-18 18:39:00 +00:00
fields.tid Add new parameters to fields-widget and fields-operator. (#4433) 2020-04-15 12:36:48 +01:00
filter Operator (Examples).tid Add "reduce" and "filter" operators 2020-10-06 19:20:03 +01:00
first.tid Overhaul the filter operator documentation: part 1 2015-01-18 18:39:00 +00:00
fixed Operator (Examples).tid Update fixed Operator (examples).tid (#4763) 2020-08-27 15:47:05 +01:00
floor Operator (Examples).tid Final chunk of docs for new maths/string operators 2019-06-13 16:53:23 +01:00
format Operator (Examples).tid Format:titlelist operator (#5665) 2021-05-24 19:28:43 +01:00
get.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
getindex.tid Doc: getindex filter example fix (#2888) 2017-06-09 16:01:06 +01:00
getvariable.tid Add new "variables" and "getvariables" operators 2019-03-30 10:52:28 +00:00
has.tid Add has:index (#4540) 2020-04-14 16:52:56 +01:00
How to remove stop words.tid Docs: Added example of how to remove stop words (#5066) 2020-11-18 15:56:38 +00:00
indexes.tid Revise terminology around tiddler sets 2015-01-19 19:37:26 +00:00
insertafter Operator (Examples).tid New insertafter filter operator (#6771) 2022-07-13 17:08:17 +01:00
insertbefore Operator (Examples).tid Support specifying insertbefore position title as parameter (#6477) 2022-02-24 11:08:06 +00:00
is.tid Docs: Remove broken is operator example (#3556) 2018-11-19 21:01:56 +00:00
join Operator (Examples).tid Final chunk of docs for new maths/string operators 2019-06-13 16:53:23 +01:00
jsonstringify Operator (Examples).tid Add rawunicode suffix to (json)stringify operators (#5191) 2020-12-04 13:19:59 +00:00
last.tid Revise terminology around tiddler sets 2015-01-19 19:37:26 +00:00
length Operator (Examples).tid Final chunk of docs for new maths/string operators 2019-06-13 16:53:23 +01:00
limit.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
links.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
list.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
listed.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
log Operator (Examples).tid Ensure the operator examples have unique id (#6153) 2021-10-30 15:54:57 +01:00
lookup Operator (Examples).tid Extend lookup operator to work with fields and indexes (#5742) 2022-02-21 09:48:29 +00:00
lowercase Operator (Examples).tid Final chunk of docs for new maths/string operators 2019-06-13 16:53:23 +01:00
match Operator (Examples).tid Ensure the operator examples have unique id (#6153) 2021-10-30 15:54:57 +01:00
max Operator (Examples).tid Fixes for 7fcdc83ba 2019-06-12 11:34:07 +01:00
maxall Operator (Examples).tid Fixes for 7fcdc83ba 2019-06-12 11:34:07 +01:00
median Operator (Examples).tid Add "average" filter operator for arithmetic mean (#5612) 2021-04-27 10:09:13 +01:00
Milk.tid Add "reduce" and "filter" operators 2020-10-06 19:20:03 +01:00
min Operator (Examples).tid Fixes for 7fcdc83ba 2019-06-12 11:34:07 +01:00
minall Operator (Examples).tid Fixes for 7fcdc83ba 2019-06-12 11:34:07 +01:00
minlength.tid Add new 'minlength' operator 2016-10-11 09:26:20 +01:00
moduleproperty Operator (Examples).tid Added modulesproperty filter operator and extended modules operator (#6055) 2021-09-20 08:25:53 +01:00
modules.tid Added modulesproperty filter operator and extended modules operator (#6055) 2021-09-20 08:25:53 +01:00
moduletypes.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
move.tid Remove modifier/modified/revision fields from #2037 2015-12-06 19:11:41 +00:00
multiply Operator (Examples).tid Fixes for 7fcdc83ba 2019-06-12 11:34:07 +01:00
negate Operator (Examples).tid Final chunk of docs for new maths/string operators 2019-06-13 16:53:23 +01:00
next.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
nsort.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
nsortcs.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
nth.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
pad Operator (Examples).tid Added string operator pad[] along with tests and docs (#5146) 2020-11-30 17:43:50 +00:00
plugintiddlers.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
power Operator (Examples).tid Added mathematics filter operators power and log (#5080) 2020-11-20 14:00:20 +00:00
precision Operator (Examples).tid Fixes for 7fcdc83ba 2019-06-12 11:34:07 +01:00
prefix.tid Support case insensitive matching in prefix/suffix operators (#6468) 2022-02-22 16:38:40 +00:00
prepend.tid Remove modifier/modified/revision fields from #2037 2015-12-06 19:11:41 +00:00
previous.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
product Operator (Examples).tid Fixes for 7fcdc83ba 2019-06-12 11:34:07 +01:00
putafter.tid Remove modifier/modified/revision fields from #2037 2015-12-06 19:11:41 +00:00
putbefore.tid Remove modifier/modified/revision fields from #2037 2015-12-06 19:11:41 +00:00
putfirst.tid Remove modifier/modified/revision fields from #2037 2015-12-06 19:11:41 +00:00
putlast.tid Remove modifier/modified/revision fields from #2037 2015-12-06 19:11:41 +00:00
reduce Operator (Examples).tid reduce and :reduce handle empty input identically (#5255) 2020-12-11 10:07:52 +00:00
regexp.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
remainder Operator (Examples).tid Fixes for 7fcdc83ba 2019-06-12 11:34:07 +01:00
remove.tid Remove modifier/modified/revision fields from #2037 2015-12-06 19:11:41 +00:00
removeprefix.tid Support case insensitive matching in prefix/suffix operators (#6468) 2022-02-22 16:38:40 +00:00
removesuffix.tid Support case insensitive matching in prefix/suffix operators (#6468) 2022-02-22 16:38:40 +00:00
replace.tid Remove modifier/modified/revision fields from #2037 2015-12-06 19:11:41 +00:00
rest.tid Make butlast[0] consistent with rest (#6483) 2022-02-26 09:42:24 +00:00
reverse.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
Rice Pudding.tid Add "reduce" and "filter" operators 2020-10-06 19:20:03 +01:00
round Operator (Examples).tid Final chunk of docs for new maths/string operators 2019-06-13 16:53:23 +01:00
sameday.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
search-replace Operator (Examples).tid Fix: resolved search-replace operator regexp encoding bug (#6162) 2021-11-01 13:24:30 +00:00
search.tid Add "some" flag to search operator (#6293) 2022-02-21 15:05:34 +00:00
sentencecase Operator (Examples).tid Fix examples for sentencecase and titlecase (#4010) 2019-06-24 10:36:28 +01:00
shadowsource.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
sign Operator (Examples).tid Final chunk of docs for new maths/string operators 2019-06-13 16:53:23 +01:00
sin Operator (Examples).tid Add documentation and examples for the trigonometric filter operators (#6131) 2021-10-22 11:35:47 +01:00
sort.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
sortan.tid Improve the docs for the sortan operator (#6495) 2022-03-02 17:40:23 +00:00
sortby.tid Remove modifier/modified/revision fields from #2037 2015-12-06 19:11:41 +00:00
sortcs.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
sortsub Operator (Examples).tid Docs: Added example of how to remove stop words (#5066) 2020-11-18 15:56:38 +00:00
split Operator (Examples).tid Final chunk of docs for new maths/string operators 2019-06-13 16:53:23 +01:00
splitbefore.tid Document splitbefore and storyviews operators 2015-01-26 14:42:22 +00:00
splitregexp Operator (Examples).tid Final chunk of docs for new maths/string operators 2019-06-13 16:53:23 +01:00
standard-deviation Operator (Examples).tid Add "average" filter operator for arithmetic mean (#5612) 2021-04-27 10:09:13 +01:00
storyviews.tid Document splitbefore and storyviews operators 2015-01-26 14:42:22 +00:00
stringify_Operator_(Examples).tid Add rawunicode suffix to (json)stringify operators (#5191) 2020-12-04 13:19:59 +00:00
subfilter Operator (Examples).tid Add subfilter operator examples and mention when it is a constructor (#6155) 2021-10-31 10:36:03 +00:00
subtiddlerfields Operator (Examples).tid Add new subtiddlerfields filter operator 2018-04-03 17:48:01 +01:00
subtract Operator (Examples).tid Fixes for 7fcdc83ba 2019-06-12 11:34:07 +01:00
suffix.tid Support case insensitive matching in prefix/suffix operators (#6468) 2022-02-22 16:38:40 +00:00
sum Operator (Examples).tid Fixes for 7fcdc83ba 2019-06-12 11:34:07 +01:00
tag.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
tagging.tid overlooked "either", removed 2015-10-04 18:03:49 +02:00
tags.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
tan Operator (Examples).tid Add documentation and examples for the trigonometric filter operators (#6131) 2021-10-22 11:35:47 +01:00
then Operator (Examples).tid Add then and else operators 2019-08-02 14:27:58 +01:00
title.tid Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
titlecase Operator (Examples).tid Fix examples for sentencecase and titlecase (#4010) 2019-06-24 10:36:28 +01:00
toggle Operator (Examples).tid Cycle operator improvements plus docs (#5069) 2020-11-20 18:37:23 +00:00
trim Operator (Examples).tid Add suffix and parameter to trim operator (#4811) 2020-08-29 12:27:58 +01:00
trunc Operator (Examples).tid Final chunk of docs for new maths/string operators 2019-06-13 16:53:23 +01:00
unique Operator (Examples).tid Fix #5310: docs for unique[] filter operator (#5651) 2021-04-29 13:14:28 +01:00
untagged.tid Document splitbefore and storyviews operators 2015-01-26 14:42:22 +00:00
untrunc Operator (Examples).tid Add untrunc operator, the mirror of trunc (#3994) 2019-06-17 18:34:30 +01:00
uppercase Operator (Examples).tid Final chunk of docs for new maths/string operators 2019-06-13 16:53:23 +01:00
variables.tid Add new "variables" and "getvariables" operators 2019-03-30 10:52:28 +00:00
variance Operator (Examples).tid Add "average" filter operator for arithmetic mean (#5612) 2021-04-27 10:09:13 +01:00
zth Operator (Examples).tid Added zero based zth[] operator and documentation (#6150) 2021-10-30 09:52:38 +01:00