1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-22 21:33:14 +00:00

Create prepend.tid

This commit is contained in:
William Jackson 2015-11-08 10:27:35 +02:00
parent 1358cd5185
commit 88a5c742e7

View File

@ -0,0 +1,18 @@
created: 20151017151508135
creator: matabele
modified: 20151108051743531
modifier: matabele
revision: 0
tags: [[Operator Examples]] [[prepend Operator]]
title: prepend Operator (Examples)
type: text/vnd.tiddlywiki
<<.using-days-of-week>>
The operator may be used to prepend a number of items to the list.
<<.operator-example 1 "[list[Days of the Week]prepend[Yesterday Today Tomorrow]]">>
The operand may list only items without spaces -- to include items with spaces, use a reference to an array e.g. prepend the last three short days of the week to the list
<<.operator-example 2 "[list[Days of the Week]!prepend:3{Days of the Week!!short}]">>