kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Docs updates
rodzic
8fbfc7a18f
commit
accf490726
|
@ -1,11 +1,24 @@
|
|||
title: TextReference
|
||||
created: 201308270759
|
||||
creator: JeremyRuston
|
||||
modified: 201308270759
|
||||
modifier: JeremyRuston
|
||||
tags: concepts
|
||||
title: TextReference
|
||||
|
||||
A TextReference identifies a chunk of text from a tiddler that can be retrieved or modified depending on the context.
|
||||
|
||||
TextReferences are made up of several parts, most of which can be optional:
|
||||
Text references are made up of several parts, most of which can be optional:
|
||||
|
||||
* `<tiddler title>` - the text [[field|TiddlerFields]] of the specified tiddler
|
||||
* `<tiddler title>!!<metadata field>` - a tiddler metadata [[field|TiddlerFields]] (eg, `modified`, `modifier`, `type` etc)
|
||||
* `!!<metadata field>` - a metadata [[field|TiddlerFields]] of the current tiddler
|
||||
* `<tiddler title>##<property index>` - extracts a named property from DataTiddlers
|
||||
|
||||
Text references can be used in several places:
|
||||
|
||||
* As IndirectOperands within TiddlerFilters (eg, `<$list filter="[tag{MyTag!!name}]"/>`)
|
||||
* As IndirectAttributes of an element or widget (eg, `<$widget attrib={{Title!!description}}/>`)
|
||||
* As the operand of a shortcut transclusion (eg, `{{MyTiddler!!title}}`)
|
||||
* As the `state` attribute of the RevealWidget and the LinkCatcherWidget
|
||||
|
||||
//There are probably other places where a title is being used but it would be more flexible to support arbitrary text references//
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
created: 201308270800
|
||||
creator: JeremyRuston
|
||||
modified: 201308270800
|
||||
modifier: JeremyRuston
|
||||
tags: concepts
|
||||
title: TiddlerFilters
|
||||
modified: 201308201405
|
||||
|
||||
Filters are used in TiddlyWiki to choose tiddlers by specifying simple match criteria.
|
||||
|
||||
|
@ -64,7 +67,7 @@ The operands available with the `is` operator are:
|
|||
|
||||
! Indirect Operands
|
||||
|
||||
If a filter operator is written with curly brackets around the operand then it is taken to be a TiddlerTextReference to the actual value. For example:
|
||||
If a filter operator is written with curly brackets around the operand then it is taken to be a TextReference to the actual value. For example:
|
||||
|
||||
''[search{$:/temp/search}]'': selects all tiddlers containing the string contained in the tiddler titled ''$:/temp/search''.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
created: 201308252217
|
||||
creator: JeremyRuston
|
||||
modified: 201308252225
|
||||
modified: 201308270750
|
||||
modifier: JeremyRuston
|
||||
tags: dev
|
||||
title: Plan for moving from Alpha to Beta
|
||||
|
@ -24,7 +24,7 @@ It would also be nice to have:
|
|||
|
||||
!! Update https://github.com/Jermolene/tiddlywiki.com
|
||||
|
||||
This is the repository for the content and build tools for tiddlywiki.com, forked from https://github.com/TiddlyWiki/tiddlywiki.com. It needs updating to includes both TW5 and TW classic, with a unified build and deployment process for the website.
|
||||
This is the repository for the content and build tools for tiddlywiki.com, forked from https://github.com/TiddlyWiki/tiddlywiki.com. It needs updating to include both TW5 and TW classic, with a unified build and deployment process for the website. The content from `TiddlyWiki5/editions/tw5.com` would be moved here.
|
||||
|
||||
The pull request will be merged when we switch into beta. Until then, we'll build to http://jermolene.github.com, meaning that http://five.tiddlywiki.com will be a replica of tiddlywiki.com post-beta switchover.
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue