1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-03 18:53:28 +00:00
Commit Graph

227 Commits

Author SHA1 Message Date
saqimtiaz
445c15e719
Extend toggle operator (#5015)
* Extend toggle operator to support optional second operand to toggle a value pair

* Added tests for extended toggle filter

* Updated docs for toggle operator
2020-11-09 18:27:45 +00:00
Robin Munn
e72d90c227
More examples for enlist-input operator (#4968)
The examples should also show what would happen without the operator, to
give a better feel for why it's useful.
2020-11-08 11:47:15 +00:00
saqimtiaz
66636d1a86
Docs for new operators (#4994)
* Docs for is[draft]

* Better error handling for suffixes

* Docs for search-replace operator

* Added tests for search-replace operator

* Docs for toggle operator
2020-11-08 09:34:05 +00:00
saqimtiaz
2a7cdb22c0
Documentation for multiple filter operands (#4969) 2020-11-08 09:32:37 +00:00
saqimtiaz
70561bd481
Added docs for enlist-input filter operator (#4966) 2020-11-02 22:50:22 +00:00
saqimtiaz
2f5f0db00f
Added docs for :intersection filter run prefix (#4967) 2020-11-02 22:49:50 +00:00
Robin Munn
cae32d39a5
Improve documentation for reduce operator (#4936) 2020-10-29 13:00:49 +00:00
saqimtiaz
f5ad5010bc
Added documentation for ':filter' prefix for filter runs. (#4920) 2020-10-28 12:00:18 +00:00
saqimtiaz
d0081a7247
Updated Filter docs for named filter run prefixes (#4917) 2020-10-27 16:49:56 +00:00
saqimtiaz
adf0c1a12a
Documentation for format filter operator (#4895)
* Documentation for format operator

* Examples for format operator
2020-10-23 16:25:05 +01:00
jeremy@jermolene.com
14a28b7779 Add "reduce" and "filter" operators 2020-10-06 19:20:03 +01:00
jeremy@jermolene.com
0027b990e4 Move tw5.com docs tiddlers to the correct folders 2020-10-04 17:36:08 +01:00
Robin Munn
5202441769
Add suffix and parameter to trim operator (#4811)
* Add suffix and parameter to trim operator

Fixes #4809

* Unit tests for new trim operator parameters

* Mention trim operator in 5.1.23 release notes

* Address review comments

* Move regex escaping into utils.js trim functions

This way the trimPrefix and trimSuffix functions from utils.js are safe
to call without regex-escaping their parameters, which should make them
easier to use from other parts of the Javascript code.
2020-08-29 12:27:58 +01:00
jeremy@jermolene.com
918e52b37b Merge branch 'tiddlywiki-com' 2020-08-28 15:25:47 +01:00
twMat
b16f5592fc
Update contains Operator.tid (#4746) 2020-08-28 14:44:40 +01:00
twMat
05de5b4c49
Update fixed Operator (examples).tid (#4763)
To clarify it zero pads.
2020-08-27 15:47:05 +01:00
twMat
8b5a4faa07
Update Filter Operators.tid (#4739) 2020-06-27 13:13:10 +01:00
jeremy@jermolene.com
41a7d98e17 Merge branch 'tiddlywiki-com' 2020-05-16 20:13:38 +01:00
mocsa
1812cbbb7c
Clarify Introduction to filter notation.tid (#4639)
I'm reading the documentation for the first time and I'm trying to clarify parts which are hard to understand for first-time users.
2020-05-14 14:30:48 +01:00
jeremy@jermolene.com
4966f6ab62 Add slugify and duplicateslugs operators
Fixes #3379
2020-05-09 15:54:44 +01:00
jeremy@jermolene.com
ad575efdcc Update sortsub to evaluate the subfilter for each item in the list
See the discussion here https://groups.google.com/d/msg/tiddlywiki/BqUFQ3v-fZw/U0F04CFFBQAJ
2020-04-25 15:22:24 +01:00
jeremy@jermolene.com
619c0752bd Add new sortsub operator 2020-04-25 11:26:19 +01:00
Mario Pietsch
de5b0062b5
Add new parameters to fields-widget and fields-operator. (#4433)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* extend fields-widget with include/exclude/sort/reverse and fields-filter with include and exclude params plus DOCS

* remove new-line

* remove eslint settings

* restore old eslint settings

* remove typo
2020-04-15 12:36:48 +01:00
Joshua Fontany
69c8058b72
Add has:index (#4540)
* has:index

* has:index

* has:index docs

* has op examples

* has op examples

* operator macros typo missing </div>

* possible mistake
2020-04-14 16:52:56 +01:00
Jeremy Ruston
27ab7d81b7 Merge branch 'tiddlywiki-com' 2020-04-14 15:16:38 +01:00
Jeremy Ruston
7b53f5724c Add new compare filter operator
Fixes #4554
2020-04-13 10:03:01 +01:00
Matt Lauber
d2f2d7a11b
Update jsonstringify Operator.tid (#4348) 2020-04-07 20:44:08 +01:00
Jeremy Ruston
9ae2c15638 Merge branch 'tiddlywiki-com' 2020-03-30 14:29:55 +01:00
twMat
cead051c73
Docs: Update sign Operator.tid (#4426) 2020-01-29 17:18:33 +00:00
twMat
35178f41b0
Docs: Update length Operator.tid (#4428) 2020-01-29 17:14:02 +00:00
TonyM
8145caa104 Add a new example that shows using all before to determine the nummeric position of a title in a list. (#4412)
See discussion https://groups.google.com/forum/?hl=en#!topic/tiddlywiki/wY6haW2cYMA
2020-01-14 16:55:53 +00:00
Jeremy Ruston
0671bc5afd Tweak docs for each filter 2019-12-12 17:39:23 +00:00
Jeremy Ruston
e33d519ce0 Update docs for "each" filter 2019-12-09 09:05:21 +00:00
Matt Lauber
9e9944b76d Correct the jsonstringify documentation (#4344)
The jsonstringify substitution table does not list all substitutions, and it listed `'` as being replaced when it's not.  This updates the table based on the code at https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/utils/utils.js#L537
2019-10-24 10:02:20 +01:00
Jeremy Ruston
1150c87edb Add [is[binary]] operator 2019-09-16 16:15:26 +01:00
Jeremy Ruston
6df7b617fb Docs tweaks 2019-08-06 14:53:14 +01:00
Jeremy Ruston
f49ab78ebd Docs: Add another example to Conditional Operators 2019-08-05 14:28:59 +01:00
Jeremy Ruston
17711657b6 Add then and else operators
Fixes #4147
2019-08-02 14:27:58 +01:00
Jeremy Ruston
3afaa9de9a Add support for anchored searches 2019-07-31 21:36:12 +01:00
Jeremy Ruston
5faae2547d Add "match" operator for string comparison
Fixes #4130
2019-07-31 09:11:12 +01:00
Simon Huber
16a53ae394 Use Resources tag for escapecss examples (#4040) 2019-07-02 16:25:34 +01:00
Simon Huber
d2f1debf92 Make escapecss tiddlers show in recent tab (#4032)
* make escapecss show in recent tab

* make escapecss examples show in recent tab
2019-06-29 08:40:46 +01:00
Simon Huber
2f723dd85a Add docs for escapecss operator (#4028)
* Create escapecss_Operator.tid

* Create escapecss Operator (Examples).tid
2019-06-29 08:17:11 +01:00
Robin Munn
cb2bf25563 Fix examples for sentencecase and titlecase (#4010) 2019-06-24 10:36:28 +01:00
Jeremy Ruston
6582b106ee Fixes to split operator, plus instructions for using it to do search and replace 2019-06-21 10:21:52 +01:00
Jeremy Ruston
90684f9f52 Add support for [is[blank]] to detect empty/blank strings 2019-06-21 10:20:37 +01:00
Robin Munn
9b27f82a80 Fix sentencecase operator, add titlecase operator (#4006) 2019-06-21 08:24:02 +01:00
Jeremy Ruston
2e2ed7902c Add sentencecase operator
Fixes #4000
2019-06-19 12:11:02 +01:00
Jeremy Ruston
47dc59cd54 Fix caption for "join" operator docs
Thanks @twMat
2019-06-17 21:44:50 +01:00
Robin Munn
e6ac709840 Clarify that the split operator does not dedupe (#3981) 2019-06-17 21:21:48 +01:00