mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 13:29:56 +00:00
added documentation tiddlers for addprefix and addsuffix; updated
documentation tiddlers for prefix, suffix, removeprefix, removesuffix to reference the new addprefix and addsuffix filter operators.
This commit is contained in:
parent
05280f09d7
commit
f6f9c74fe9
@ -0,0 +1,15 @@
|
|||||||
|
created: 20140410103123179
|
||||||
|
modified: 20140410103123179
|
||||||
|
tags: Filters
|
||||||
|
caption: addprefix
|
||||||
|
title: FilterOperator: addprefix
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
The ''addprefix'' filter operator add a prefix to all titles in the current list.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
|!Filter String |!Description |
|
||||||
|
|`one two three +[addprefix[tid-]]` |Returns `tid-one`, `tid-two`, `tid-three` |
|
||||||
|
|
||||||
|
See also [[FilterOperator: prefix]], [[FilterOperator: suffix]], [[FilterOperator: addsuffix]], [[FilterOperator: removeprefix]] and [[FilterOperator: removesuffix]].
|
@ -0,0 +1,15 @@
|
|||||||
|
created: 20140828133830424
|
||||||
|
modified: 20140902145613329
|
||||||
|
tags: Filters
|
||||||
|
caption: addsuffix
|
||||||
|
title: FilterOperator: addsuffix
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
The ''addsuffix'' filter operator adds a suffix to all titles in the current list.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
|!Filter String |!Description |
|
||||||
|
|`one two three +[addsuffix[-tid]]` |Returns `one-tid`, `two-tid`, `three-tid` |
|
||||||
|
|
||||||
|
See also [[FilterOperator: suffix]], [[FilterOperator: prefix]], [[FilterOperator: addprefix]], [[FilterOperator: removesuffix]], and [[FilterOperator: removeprefix]].
|
@ -13,4 +13,4 @@ For example:
|
|||||||
|`[tag[task]!prefix[hidden]]` |Returns tiddlers tagged `task` whose titles do not start with `hidden` |
|
|`[tag[task]!prefix[hidden]]` |Returns tiddlers tagged `task` whose titles do not start with `hidden` |
|
||||||
|`[prefix[$:/]]` |Equivalent to `[is[system]]` |
|
|`[prefix[$:/]]` |Equivalent to `[is[system]]` |
|
||||||
|
|
||||||
See also [[FilterOperator: removeprefix]], [[FilterOperator: removesuffix]] and [[FilterOperator: removesuffix]].
|
See also [[FilterOperator: removeprefix]], [[FilterOperator: removesuffix]], [[FilterOperator: removesuffix]], [[FilterOperator: addprefix]], and [[FilterOperator: addsuffix]].
|
||||||
|
@ -12,4 +12,4 @@ For example:
|
|||||||
|!Filter String |!Description |
|
|!Filter String |!Description |
|
||||||
|`tid-one tid-two three +[removeprefix[tid-]]` |Returns `one`, `two` |
|
|`tid-one tid-two three +[removeprefix[tid-]]` |Returns `one`, `two` |
|
||||||
|
|
||||||
See also [[FilterOperator: prefix]], [[FilterOperator: suffix]] and [[FilterOperator: removesuffix]].
|
See also [[FilterOperator: prefix]], [[FilterOperator: suffix]], [[FilterOperator: removesuffix]], [[FilterOperator: addprefix]], and [[FilterOperator: addsuffix]].
|
||||||
|
@ -12,4 +12,4 @@ For example:
|
|||||||
|!Filter String |!Description |
|
|!Filter String |!Description |
|
||||||
|`one-tid two-tid three +[removesuffix[-tid]]` |Returns `one`, `two` |
|
|`one-tid two-tid three +[removesuffix[-tid]]` |Returns `one`, `two` |
|
||||||
|
|
||||||
See also [[FilterOperator: suffix]], [[FilterOperator: prefix]] and [[FilterOperator: removeprefix]].
|
See also [[FilterOperator: suffix]], [[FilterOperator: prefix]], [[FilterOperator: removeprefix]], [[FilterOperator: addprefix]], and [[FilterOperator: addsuffix]].
|
||||||
|
@ -13,4 +13,4 @@ For example:
|
|||||||
|`[tag[task]!suffix[hidden]]` |Returns tiddlers tagged `task` whose titles do not end with `hidden` |
|
|`[tag[task]!suffix[hidden]]` |Returns tiddlers tagged `task` whose titles do not end with `hidden` |
|
||||||
|`[suffix[.jpg]]` |Returns tiddlers whose titles end with `.jpg` |
|
|`[suffix[.jpg]]` |Returns tiddlers whose titles end with `.jpg` |
|
||||||
|
|
||||||
See also [[FilterOperator: removesuffix]], [[FilterOperator: prefix]] and [[FilterOperator: removeprefix]].
|
See also [[FilterOperator: removesuffix]], [[FilterOperator: prefix]], [[FilterOperator: removeprefix]], [[FilterOperator: addprefix]], and [[FilterOperator: addsuffix]].
|
||||||
|
Loading…
Reference in New Issue
Block a user