8 changes: 2 additions & 6 deletions core/wiki/paletteswitcher.tid
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
title: $:/snippets/paletteswitcher

\define lingo-base() $:/language/ControlPanel/Palette/
<div class="tc-prompt">
<<lingo Prompt>> <$view tiddler={{$:/palette}} field="name"/>
</div>

<$linkcatcher to="$:/palette">
<div class="tc-chooser"><$list filter="[all[shadows+tiddlers]tag[$:/tags/Palette]sort[description]]"><div class="tc-chooser-item"><$link to={{!!title}}><div><$reveal state="$:/palette" type="match" text={{!!title}}>&bull;</$reveal><$reveal state="$:/palette" type="nomatch" text={{!!title}}>&nbsp;</$reveal> ''<$view field="name" format="text"/>'' - <$view field="description" format="text"/></div><$transclude tiddler="$:/snippets/currpalettepreview"/></$link></div>
<div class="tc-chooser"><$list filter="[all[shadows+tiddlers]tag[$:/tags/Palette]sort[description]]"><$set name="cls" filter="[all[current]prefix{$:/palette}]" value="tc-chooser-item tc-chosen" emptyValue="tc-chooser-item"><div class=<<cls>>><$link to={{!!title}}>''<$view field="name" format="text"/>'' - <$view field="description" format="text"/>{{||$:/snippets/currpalettepreview}}</$link>
</div></$set>
</$list>
</div>
</$linkcatcher>
77 changes: 77 additions & 0 deletions core/wiki/peek-stylesheets.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
title: $:/snippets/peek-stylesheets

\define expandable-stylesheets-list()
<ol>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]">
<$vars state=<<qualify "$:/config/peek-stylesheets/open/">>>
<$set name="state" value={{{ [<state>addsuffix<currentTiddler>] }}}>
<li>
<$reveal type="match" state=<<state>> text="yes" tag="span">
<$button set=<<state>> setTo="no" class="tc-btn-invisible">
{{$:/core/images/down-arrow}}
</$button>
</$reveal>
<$reveal type="nomatch" state=<<state>> text="yes" tag="span">
<$button set=<<state>> setTo="yes" class="tc-btn-invisible">
{{$:/core/images/right-arrow}}
</$button>
</$reveal>
<$link>
<$view field="title"/>
</$link>
<$reveal type="match" state=<<state>> text="yes" tag="div">
<$set name="source" tiddler=<<currentTiddler>>>
<$wikify name="styles" text=<<source>>>
<pre>
<code>
<$text text=<<styles>>/>
</code>
</pre>
</$wikify>
</$set>
</$reveal>
</li>
</$set>
</$vars>
</$list>
</ol>
\end

\define stylesheets-list()
<ol>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]">
<li>
<$link>
<$view field="title"/>
</$link>
<$set name="source" tiddler=<<currentTiddler>>>
<$wikify name="styles" text=<<source>>>
<pre>
<code>
<$text text=<<styles>>/>
</code>
</pre>
</$wikify>
</$set>
</li>
</$list>
</ol>
\end

<$vars modeState=<<qualify "$:/config/peek-stylesheets/mode/">>>

<$reveal type="nomatch" state=<<modeState>> text="expanded" tag="div">
<$button set=<<modeState>> setTo="expanded" class="tc-btn-invisible">{{$:/core/images/chevron-right}} {{$:/language/ControlPanel/Stylesheets/Expand/Caption}}</$button>
</$reveal>
<$reveal type="match" state=<<modeState>> text="expanded" tag="div">
<$button set=<<modeState>> setTo="restored" class="tc-btn-invisible">{{$:/core/images/chevron-down}} {{$:/language/ControlPanel/Stylesheets/Restore/Caption}}</$button>
</$reveal>

<$reveal type="nomatch" state=<<modeState>> text="expanded" tag="div">
<<expandable-stylesheets-list>>
</$reveal>
<$reveal type="match" state=<<modeState>> text="expanded" tag="div">
<<stylesheets-list>>
</$reveal>

</$vars>
2 changes: 1 addition & 1 deletion core/wiki/tags/EditorToolbar.tid
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
title: $:/tags/EditorToolbar
list: $:/core/ui/EditorToolbar/paint $:/core/ui/EditorToolbar/opacity $:/core/ui/EditorToolbar/line-width $:/core/ui/EditorToolbar/clear $:/core/ui/EditorToolbar/bold $:/core/ui/EditorToolbar/italic $:/core/ui/EditorToolbar/strikethrough $:/core/ui/EditorToolbar/underline $:/core/ui/EditorToolbar/superscript $:/core/ui/EditorToolbar/subscript $:/core/ui/EditorToolbar/mono-line $:/core/ui/EditorToolbar/mono-block $:/core/ui/EditorToolbar/quote $:/core/ui/EditorToolbar/list-bullet $:/core/ui/EditorToolbar/list-number $:/core/ui/EditorToolbar/heading-1 $:/core/ui/EditorToolbar/heading-2 $:/core/ui/EditorToolbar/heading-3 $:/core/ui/EditorToolbar/heading-4 $:/core/ui/EditorToolbar/heading-5 $:/core/ui/EditorToolbar/heading-6 $:/core/ui/EditorToolbar/link $:/core/ui/EditorToolbar/excise $:/core/ui/EditorToolbar/picture $:/core/ui/EditorToolbar/stamp $:/core/ui/EditorToolbar/size $:/core/ui/EditorToolbar/editor-height $:/core/ui/EditorToolbar/more $:/core/ui/EditorToolbar/preview $:/core/ui/EditorToolbar/preview-type
list: $:/core/ui/EditorToolbar/paint $:/core/ui/EditorToolbar/opacity $:/core/ui/EditorToolbar/line-width $:/core/ui/EditorToolbar/rotate-left $:/core/ui/EditorToolbar/clear $:/core/ui/EditorToolbar/bold $:/core/ui/EditorToolbar/italic $:/core/ui/EditorToolbar/strikethrough $:/core/ui/EditorToolbar/underline $:/core/ui/EditorToolbar/superscript $:/core/ui/EditorToolbar/subscript $:/core/ui/EditorToolbar/mono-line $:/core/ui/EditorToolbar/mono-block $:/core/ui/EditorToolbar/quote $:/core/ui/EditorToolbar/list-bullet $:/core/ui/EditorToolbar/list-number $:/core/ui/EditorToolbar/heading-1 $:/core/ui/EditorToolbar/heading-2 $:/core/ui/EditorToolbar/heading-3 $:/core/ui/EditorToolbar/heading-4 $:/core/ui/EditorToolbar/heading-5 $:/core/ui/EditorToolbar/heading-6 $:/core/ui/EditorToolbar/link $:/core/ui/EditorToolbar/excise $:/core/ui/EditorToolbar/picture $:/core/ui/EditorToolbar/stamp $:/core/ui/EditorToolbar/size $:/core/ui/EditorToolbar/editor-height $:/core/ui/EditorToolbar/more $:/core/ui/EditorToolbar/preview $:/core/ui/EditorToolbar/preview-type
7 changes: 3 additions & 4 deletions core/wiki/themeswitcher.tid
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
title: $:/snippets/themeswitcher

\define lingo-base() $:/language/ControlPanel/Theme/
<<lingo Prompt>> <$view tiddler={{$:/theme}} field="name"/>

<$linkcatcher to="$:/theme">
<$list filter="[plugin-type[theme]sort[title]]"><div><$reveal state="$:/theme" type="match" text={{!!title}}>&bull;</$reveal><$reveal state="$:/theme" type="nomatch" text={{!!title}}>&nbsp;</$reveal> <$link to={{!!title}}>''<$view field="name" format="text"/>'' <$view field="description" format="text"/></$link></div>
<div class="tc-chooser"><$list filter="[plugin-type[theme]sort[title]]"><$set name="cls" filter="[all[current]field:title{$:/theme}] [[$:/theme]!has[text]addsuffix[s/tiddlywiki/vanilla]field:title<currentTiddler>] +[limit[1]]" value="tc-chooser-item tc-chosen" emptyValue="tc-chooser-item"><div class=<<cls>>><$link to={{!!title}}>''<$view field="name" format="text"/>'' <$view field="description" format="text"/></$link></div>
</$set>
</$list>
</div>
</$linkcatcher>
20 changes: 15 additions & 5 deletions core/wiki/viewswitcher.tid
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
title: $:/snippets/viewswitcher

\define lingo-base() $:/language/ControlPanel/StoryView/
<<lingo Prompt>> <$select tiddler="$:/view">
<$list filter="[storyviews[]]">
<option><$view field="title"/></option>
\define icon()
$:/core/images/storyview-$(storyview)$
\end
<$linkcatcher to="$:/view">
<div class="tc-chooser">
<$list filter="[storyviews[]]" variable="storyview">
<$set name="cls" filter="[<storyview>prefix{$:/view}]" value="tc-chooser-item tc-chosen" emptyValue="tc-chooser-item"><div class=<<cls>>>
<$link to=<<storyview>>>
<$transclude tiddler=<<icon>>/>
<$text text=<<storyview>>/>
</$link>
</div>
</$set>
</$list>
</$select>
</div>
</$linkcatcher>
4 changes: 2 additions & 2 deletions editions/classicparserdemo/tiddlers/HTML Formatting.tid
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ TiddlyWiki provides support for rendering pure HTML markup. To do this, simply w
!!"""Embedded iFrame"""
{{{
<html>
<iframe src="http://www.youtube.com/embed/Cj6ho1-G6tw"
<iframe src="https://www.youtube.com/embed/Cj6ho1-G6tw"
width="450" height="315" frameborder="0" allowfullscreen/>
</html>
}}}
<html>
<iframe src="http://www.youtube.com/embed/Cj6ho1-G6tw?vq=hd720&iv_load_policy=3"
<iframe src="https://www.youtube.com/embed/Cj6ho1-G6tw?vq=hd720&iv_load_policy=3"
width="450" height="315" frameborder="0" allowfullscreen/>
</html>
2 changes: 1 addition & 1 deletion editions/classicparserdemo/tiddlers/Markup.tid
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ TiddlyWiki markup is a dedicated markup syntax to <<tag Formatting "format your
|>| ![[Embedded HTML|HTML Formatting]] |
|<html><span style="padding-right:30px;font-size:2em;">any</span><br /><b>valid</b> <em>xhtml</em></html>|<html><code style="font-weight:bold">&lt;html&gt;</code></html>{{{<span style="padding-right:30px;font-size:2em;">any</span><br /><b>valid</b> <em>xhtml</em>}}}<html><code style="font-weight:bold">&lt;/html&gt;</code></html>|
|>| [[Embedded <iframe>|HTML Formatting]] |
|<html><iframe height="200px" width="300px" src="http://www.youtube.com/embed/Cj6ho1-G6tw?vq=hd720" frameborder="0" allowfullscreen/></html>|<html><code style="font-weight:bold">&lt;html&gt;</code></html>{{{<iframe src="http://the.url"/>}}}<html><code style="font-weight:bold">&lt;/html&gt;</code></html>|
|<html><iframe height="200px" width="300px" src="https://www.youtube.com/embed/Cj6ho1-G6tw?vq=hd720" frameborder="0" allowfullscreen/></html>|<html><code style="font-weight:bold">&lt;html&gt;</code></html>{{{<iframe src="http://the.url"/>}}}<html><code style="font-weight:bold">&lt;/html&gt;</code></html>|
|>| ![[Line Break|Line Breaks]] |
|handy for entering multi-line content into table cells or lists|>|
|a<br>b|{{{a<br>b}}} or {{{a<br/>a}}} or {{{a<br />a}}}|
Expand Down
5 changes: 5 additions & 0 deletions editions/codemirrordemo/tiddlers/DefaultSidebarTab.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
title: $:/config/DefaultSidebarTab


$:/codemirrordemo/sidebar/cheatsheet

40 changes: 36 additions & 4 deletions editions/codemirrordemo/tiddlers/HelloThere.tid
Original file line number Diff line number Diff line change
@@ -1,11 +1,43 @@
title: HelloThere

This is a demo of TiddlyWiki5 incorporating a plugin for the [[CodeMirror|http://codemirror.net/]] text editor for the web.
This is a demo of [[TiddlyWiki5|https://tiddlywiki.com]] incorporating a plugin for the [[CodeMirror|http://codemirror.net/]] text editor for the web.

Try editing the tiddler LoremIpsum to try out the editor.
The ~CodeMirror plugin can be extended with ~AddOns for more functionality:

To add the plugin to your own TiddlyWiki5, just drag this link to the browser window:
* Search and Replace
* Text - Autocompletion
* Syntax highlighting
* Fullscreen editing
* Keymaps in the style of Emacs, Sublime Text or Vim
* Closing Brackets
* Closing Tags

NOTE: This demo has the ''Sublime Text'' keymap installed.

!!!Try editing the tiddler [[Draft of 'LoremIpsum']] to try out the editor.

Some commands and functions to try:

* Ctrl+F : Search panel to search for expressions
* Ctrl+H (sublime text shortcut, default is Ctrl+Shift+R) : Search and Replace
* Ctrl+Space : Triggers Autocompletion
* typing an opening bracket like `{` automatically creates the closing bracket `}`
* tiddlers with type `application/javascript`, `application/json`, `text/css`, `text/html`, `text/xml`, `text/x-markdown` and `text/x-tiddlywiki` have Syntax Highlighting
* tiddlers with type `text/html` automatically close tags like `<div>` when the closing `>` gets typed
* Multiple cursors: holding Ctrl pressed while selecting words results in multiple cursors. If you type, all selections will update

This demo uses the ''Sublime Text Keymap'' - See the Sidebar Tab ''Keymap'' or the [[Sublime Text Keymap Readme|$:/plugins/tiddlywiki/codemirror-keymap-sublime-text/readme]] for all available keyboard shortcuts

To add the base plugin to your own ~TiddlyWiki5, just drag this link to the browser window:

[[$:/plugins/tiddlywiki/codemirror]]

{{$:/plugins/tiddlywiki/codemirror/readme}}
[[CodeMirror plugin Readme|$:/plugins/tiddlywiki/codemirror/readme]]

[[CodeMirror plugin Usage|$:/plugins/tiddlywiki/codemirror/usage]]

To add ~AddOns to your ~CodeMirror plugin, go to ~ControlPanel - Plugins and drag the desired ~AddOn to your wiki browser window

The configuration for ~AddOns is done automatically, configuration for sensible settings can be done in ~ControlPanel - Settings - ~CodeMirror


4 changes: 4 additions & 0 deletions editions/codemirrordemo/tiddlers/KeyMap.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/config/codemirror/keyMap
type: string

sublime
57 changes: 57 additions & 0 deletions editions/codemirrordemo/tiddlers/KeymapCheatsheet.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
caption: Keymap
tags: $:/tags/SideBar
title: $:/codemirrordemo/sidebar/cheatsheet


|Shortcut |Function |h
|Shift-Tab |indentLess |
|Shift-Ctrl-K |deleteLine |
|Alt-Q |wrapLines |
|Alt-T |transposeChars |
|Alt-Left |goSubwordLeft |
|Alt-Right |goSubwordRight |
|Ctrl-Up |scrollLineUp |
|Ctrl-Down |scrollLineDown |
|Alt-L |selectLine |
|Shift-Alt-L |splitSelectionByLine |
|Ctrl-Esc |singleSelectionTop |
|Shift-Enter |insertLineAfter |
|Shift-Ctrl-Enter |insertLineBefore |
|Ctrl-D |selectNextOccurrence |
|Shift-Ctrl-Space |selectScope |
|Shift-Ctrl-M |selectBetweenBrackets |
|Alt-M |goToBracket |
|Shift-Ctrl-Up |swapLineUp |
|Shift-Ctrl-Down |swapLineDown |
|Ctrl-/ |toggleCommentIndented |
|Ctrl-J |joinLines |
|Shift-Ctrl-D |duplicateLine |
|F9 |sortLines |
|Ctrl-F9 |sortLinesInsensitive |
|F2 |nextBookmark |
|Shift-F2 |prevBookmark |
|Ctrl-F2 |toggleBookmark |
|Shift-Ctrl-F2 |clearBookmarks |
|Alt-F2 |selectBookmarks |
|Backspace |smartBackspace |
|Ctrl-K Ctrl-K |delLineRight |
|Ctrl-K Alt-U |upcaseAtCursor |
|Ctrl-K Alt-L |downcaseAtCursor |
|Ctrl-K Ctrl-Space |setSublimeMark |
|Ctrl-K Ctrl-A |selectToSublimeMark |
|Ctrl-K Alt-D |deleteToSublimeMark |
|Ctrl-K Ctrl-X |swapWithSublimeMark |
|Ctrl-K Ctrl-Y |sublimeYank |
|Ctrl-K Ctrl-C |showInCenter |
|Ctrl-K Ctrl-G |clearBookmarks |
|Ctrl-K Ctrl-Backspace |delLineLeft |
|Ctrl-K Ctrl-0 |unfoldAll |
|Ctrl-K Ctrl-J |unfoldAll |
|Ctrl-Alt-Up |addCursorToPrevLine |
|Ctrl-Alt-Down |addCursorToNextLine |
|Ctrl-F3 |findUnder |
|Shift-Ctrl-F3 |findUnderPrevious |
|Shift-Ctrl-[ |fold |
|Shift-Ctrl-] |unfold |
|Ctrl-H |replace |

2 changes: 1 addition & 1 deletion editions/codemirrordemo/tiddlers/SiteSubtitle.tid
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title: $:/SiteSubtitle

a demo of the CodeMirror plugin for TiddlyWiki5
~CodeMirror plugins for ~TiddlyWiki
2 changes: 1 addition & 1 deletion editions/codemirrordemo/tiddlers/SiteTitle.tid
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title: $:/SiteTitle

codemirrordemo
~CodeMirror Demo
56 changes: 56 additions & 0 deletions editions/codemirrordemo/tiddlers/cm-theme-tiddlywiki.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
title: $:/themes/codemirror/tiddlywiki
tags: $:/tags/Stylesheet
module-type: codemirror-theme
name: tiddlywiki

.cm-s-tiddlywiki {
font-size: 1em;
line-height: 1.5em;
letter-spacing: 0.3px;
word-spacing: 1px;
background: <<colour page-background>>;
color: <<colour foreground>>;
}
.cm-s-tiddlywiki .CodeMirror-lines {
padding: 8px 0;
}
.cm-s-tiddlywiki .CodeMirror-gutters {
background-color: <<colour page-background>>;
padding-right: 10px;
z-index: 3;
border: none;
}
.cm-s-tiddlywiki div.CodeMirror-cursor {
border-left: 3px solid <<colour very-muted-foreground>>;
}
.cm-s-tiddlywiki .CodeMirror-activeline-background {
background: <<colour tiddler-editor-fields-even>>;
}
.cm-s-tiddlywiki .CodeMirror-selected {
background: <<colour muted-foreground>>;
}
.cm-s-tiddlywiki .cm-comment {
font-style: italic;
color: <<colour muted-foreground>>;
}
.cm-s-tiddlywiki .CodeMirror-linenumber {
color: italic;
}

.cm-s-tiddlywiki span.cm-atom, .cm-s-tiddlywiki span.cm-number, .cm-s-tiddlywiki span.cm-keyword, .cm-s-tiddlywiki span.cm-variable, .cm-s-tiddlywiki span.cm-attribute, .cm-s-tiddlywiki span.cm-quote, .cm-s-tiddlywiki-light span.cm-hr, .cm-s-tiddlywiki-light span.cm-link { color: #063289; }

.cm-s-tiddlywiki span.cm-property { color: #b29762; }
.cm-s-tiddlywiki span.cm-punctuation, .cm-s-tiddlywiki span.cm-unit, .cm-s-tiddlywiki span.cm-negative { color: #063289; }
.cm-s-tiddlywiki span.cm-string, .cm-s-tiddlywiki span.cm-operator { color: #1659df; }
.cm-s-tiddlywiki span.cm-positive { color: #896724; }

.cm-s-tiddlywiki span.cm-variable-2, .cm-s-tiddlywiki span.cm-variable-3, .cm-s-tiddlywiki span.cm-type, .cm-s-tiddlywiki span.cm-string-2, .cm-s-tiddlywiki span.cm-url { color: #896724; }
.cm-s-tiddlywiki span.cm-def, .cm-s-tiddlywiki span.cm-tag, .cm-s-tiddlywiki span.cm-builtin, .cm-s-tiddlywiki span.cm-qualifier, .cm-s-tiddlywiki span.cm-header, .cm-s-tiddlywiki span.cm-em { color: #2d2006; }
.cm-s-tiddlywiki span.cm-bracket, .cm-s-tiddlywiki span.cm-comment { color: #b6ad9a; }

/* using #f00 red for errors, don't think any of the colorscheme variables will stand out enough, ... maybe by giving it a background-color ... */
/* .cm-s-tiddlywiki span.cm-error { background: #896724; color: #728fcb; } */
.cm-s-tiddlywiki span.cm-error, .cm-s-tiddlywiki span.cm-invalidchar { color: #f00; }

.cm-s-tiddlywiki span.cm-header { font-weight: normal; }
.cm-s-tiddlywiki .CodeMirror-matchingbracket { text-decoration: underline; color: #faf8f5 !important; }
3 changes: 3 additions & 0 deletions editions/codemirrordemo/tiddlers/cm-theme.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/config/codemirror/theme

tiddlywiki
4 changes: 4 additions & 0 deletions editions/codemirrordemo/tiddlers/lineNumbers.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/config/codemirror/lineNumbers
type: bool

true
3 changes: 3 additions & 0 deletions editions/codemirrordemo/tiddlers/sidebarlayout.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/themes/tiddlywiki/vanilla/options/sidebarlayout

fluid-fixed
4 changes: 4 additions & 0 deletions editions/codemirrordemo/tiddlers/styleActiveLine.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/config/codemirror/styleActiveLine
type: bool

true
13 changes: 12 additions & 1 deletion editions/codemirrordemo/tiddlywiki.info
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
{
"description": "Demo of the CodeMirror plugin",
"plugins": [
"tiddlywiki/codemirror"
"tiddlywiki/codemirror",
"tiddlywiki/codemirror-closebrackets",
"tiddlywiki/codemirror-closetag",
"tiddlywiki/codemirror-autocomplete",
"tiddlywiki/codemirror-search-replace",
"tiddlywiki/codemirror-fullscreen-editing",
"tiddlywiki/codemirror-mode-xml",
"tiddlywiki/codemirror-mode-javascript",
"tiddlywiki/codemirror-mode-css",
"tiddlywiki/codemirror-mode-x-tiddlywiki",
"tiddlywiki/codemirror-mode-markdown",
"tiddlywiki/codemirror-keymap-sublime-text"
],
"themes": [
"tiddlywiki/vanilla",
Expand Down
2 changes: 1 addition & 1 deletion editions/de-AT/tiddlers/howto/Speichern mit Chrome.tid
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Diese Methode ist etwas umständlich, da man Einstellungen immer wieder manuell

!! Speichern mit Chrome

<<iframe-responsive src:"http://www.youtube.com/embed/LcoZ7hQCuFI">>
<<iframe-responsive src:"https://www.youtube.com/embed/LcoZ7hQCuFI">>

# Speichern Sie eine leere Datei der deutschen Version.
#> {{$:/editions/de-AT-DE/snippets/download-empty-button}}
Expand Down
2 changes: 1 addition & 1 deletion editions/de-AT/tiddlers/howto/Speichern mit TiddlyFox.tid
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Wenn Sie "Firefox for Android" verwenden, dann beachten sie: [[Speichern mit Tid

!! Speichern mit TiddlyFox

<<iframe-responsive src:"http://www.youtube.com/embed/bsWE7jXPbb0">>
<<iframe-responsive src:"https://www.youtube.com/embed/bsWE7jXPbb0">>

# Stellen Sie sicher, dass Sie die [[aktuelle Version von Firefox|http://getfirefox.com]] verwenden.
# Installieren Sie die aktuelle TiddlyFox Erweiterung von: https://addons.mozilla.org/en-US/firefox/addon/tiddlyfox/
Expand Down
2 changes: 1 addition & 1 deletion editions/de-AT/tiddlers/howto/Speichern mit TiddlyIE.tid
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type: text/vnd.tiddlywiki

!! Speichern mit TiddlyIE

<<iframe-responsive src:"http://www.youtube.com/embed/OrWuvjs3Ly0">>
<<iframe-responsive src:"https://www.youtube.com/embed/OrWuvjs3Ly0">>

# Installieren Sie TiddlyIE AddOn von:
#* https://github.com/davidjade/TiddlyIE/releases
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ TiddlyDesktop ist ein Programm für Windows, Mac OS X und Linux, mit dem Sie Tid

Ein kurzes, englisches Einführungs-Video zu TiddlyDesktop:

<iframe width="560" height="315" src="http://www.youtube.com/embed/i3Bggkm7paA" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/i3Bggkm7paA" frameborder="0" allowfullscreen></iframe>
2 changes: 1 addition & 1 deletion editions/de-AT/tiddlers/howto/Windows HTA Hack.tid
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ TW wird standardmäßig im UTF-8 Format gespeichert. Wird die Datei wieder mit e

Hier ist ein Video von Mario Pietsch, dass den Umgang IE, HTA und TiddlyWiki zeigt.

<iframe width="560" height="315" src="http://www.youtube.com/embed/OrWuvjs3Ly0" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/OrWuvjs3Ly0" frameborder="0" allowfullscreen></iframe>

Siehe Wikipedia (englisch): http://en.wikipedia.org/wiki/HTML_Application
2 changes: 1 addition & 1 deletion editions/de-AT/tiddlers/video/Einfuhrungsvideo.tid
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type: text/vnd.tiddlywiki
Diese Videopräsentation (englisch) erklärt die grundlegenden Möglichkeiten von TiddlyWiki.


<iframe width="560" height="315" src="http://www.youtube.com/embed/KtCUr83XgyE" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/KtCUr83XgyE" frameborder="0" allowfullscreen></iframe>

Die Präsentation, die in diesem Video verwendet wurde, finden Sie hier:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ type: text/vnd.tiddlywiki

Das Video von Jeremy Ruston, gibt eine kurze Übersicht, wie ~TiddlyWiki mit "Firefox für Android" verwendet werden kann.

<iframe width="560" height="315" src="http://www.youtube.com/embed/iikkv9orGGI" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/iikkv9orGGI" frameborder="0" allowfullscreen></iframe>
15 changes: 15 additions & 0 deletions editions/dev/tiddlers/new/Hook_ th-page-refreshed.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
created: 20180104155916980
modified: 20180104160025999
tags: HookMechanism
title: Hook: th-page-refreshed
type: text/vnd.tiddlywiki

This hook notifies plugins that a page refresh has just occurred. It is typically used to apply post-rendering effects.

Hook function parameters:

* (none)

Return value:

* (none)
18 changes: 18 additions & 0 deletions editions/dev/tiddlers/new/Hook__th-server-command-post-start.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
created: 20180409142128584
modified: 20180409142128584
tags: HookMechanism
title: Hook: th-server-command-post-start
type: text/vnd.tiddlywiki

This hook allows plugins to extend the TiddlyWiki server command after it initializes. The two
most obvious use cases are adding routes (such as an attachments folder for external files)
to the SimpleServer instance and adding a websockets handler to the HTTP server.

Hook function parameters:

* SimpleServer instance
** Defined in core/modules/commands/server.js
* NodeJS HTTP Server instance
** See the NodeJS docs at [ext[https://nodejs.org/docs/latest-v8.x/api/http.html#http_class_http_server]]

Return value is ignored.
20 changes: 20 additions & 0 deletions editions/dev/tiddlers/system/ContributionBanner.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
title: $:/ContributionBanner
tags: $:/tags/EditTemplate
list-after: $:/core/ui/EditTemplate/title

\define makeGitHubLink()
https://github.com/Jermolene/TiddlyWiki5/edit/master/editions/dev/tiddlers/$(githubLink)$
\end
\define innerMakeGitHubLink(linkText)
<$set name="githubLink" value={{$:/config/OriginalTiddlerPaths##$(draftOfTiddler)$}}>
<a href=<<makeGitHubLink>> class="tc-tiddlylink-external" target="_blank" rel="noopener noreferrer">$linkText$</a>
</$set>
\end
\define outerMakeGitHubLink(linkText)
<$set name="draftOfTiddler" value={{$(currentTiddler)$!!draft.of}}>
<<innerMakeGitHubLink "$linkText$">>
</$set>
\end
<div class="tc-improvement-banner">
{{$:/core/images/star-filled}} Can you help us improve this documentation? [ext[Find out how|https://tiddlywiki.com/#Improving%20TiddlyWiki%20Documentation]] to edit <<outerMakeGitHubLink "this tiddler on ~GitHub">>
</div>
3 changes: 0 additions & 3 deletions editions/dev/tiddlers/system/GoogleAnalyticsAccount.tid

This file was deleted.

3 changes: 0 additions & 3 deletions editions/dev/tiddlers/system/GoogleAnalyticsDomain.tid

This file was deleted.

23 changes: 23 additions & 0 deletions editions/dev/tiddlers/system/Sources.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
title: $:/editions/tw5.com/TiddlerInfo/Sources
tags: $:/tags/TiddlerInfo
caption: Sources

\define github-link-base()
https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/dev/tiddlers/$(title)$
\end

\define make-github-link()
<$set name="title" value={{$:/config/OriginalTiddlerPaths##$(currentTiddler)$}}>
<$set name="title" filter="[<title>encodeuricomponent[]]" select="0">
<a href=<<github-link-base>> class="tc-tiddlylink-external" target="_blank" rel="noopener noreferrer"><$text text=<<github-link-base>>/></a>
</$set>
</$set>
\end

<$list filter="[all[current]!is[system]!is[shadow]]">

Help us to improve the documentation by sending a ~GitHub pull request for this tiddler:

* <<make-github-link>>

</$list>
4 changes: 3 additions & 1 deletion editions/dev/tiddlywiki.info
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"description": "Developer documentation from https://tiddlywiki.com/dev/",
"plugins": [
"tiddlywiki/highlight",
"tiddlywiki/googleanalytics",
"tiddlywiki/nodewebkitsaver",
"tiddlywiki/github-fork-ribbon"
],
Expand Down Expand Up @@ -56,5 +55,8 @@
"--rendertiddler","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain",
"--rendertiddlers","[!is[system]]","$:/core/templates/static.tiddler.html","static","text/plain",
"--rendertiddler","$:/core/templates/static.template.css","static/static.css","text/plain"]
},
"config": {
"retain-original-tiddler-path": true
}
}

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions editions/es-ES/tiddlers/Draft_of_'Nuevo_Tiddler'.tid

This file was deleted.

2 changes: 1 addition & 1 deletion editions/es-ES/tiddlers/Getting_Started_Video.tid
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Este breve tutorial te enseña cómo guardar cambios en TiddlyWIki.

//El video está un poco anticuado, pero esperamos poder ponerlo pronto al día.//

<iframe width="560" height="315" src="http://www.youtube.com/embed/1g66s7UbyuU" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/1g66s7UbyuU" frameborder="0" allowfullscreen></iframe>
2 changes: 1 addition & 1 deletion editions/es-ES/tiddlers/HelloThere.tid
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Al revés que los servicios online convencionales, TiddlyWiki te deja escoger d
<a href="http://groups.google.com/group/TiddlyWiki" class="tc-btn-big-green" style="background-color:#FF8C19;" target="_blank" rel="noopener noreferrer">
{{$:/core/images/mail}} ~TiddlyWiki en Google Groups
</a>
<a href="http://www.youtube.com/c/JeremyRuston" class="tc-btn-big-green" style="background-color:#e52d27;" target="_blank" rel="noopener noreferrer">
<a href="https://www.youtube.com/c/JeremyRuston" class="tc-btn-big-green" style="background-color:#e52d27;" target="_blank" rel="noopener noreferrer">
{{$:/core/images/video}} ~TiddlyWiki en ~YouTube
</a>
<a href="https://twitter.com/TiddlyWiki" class="tc-btn-big-green" style="background-color:#5E9FCA;" target="_blank" rel="noopener noreferrer">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ Cualquiera puede proponer mejoras en la documentación de TiddlyWiki que aparece

Mario Pietsch ha creado estos videotutoriales al respecto:

<iframe width="560" height="315" src="http://www.youtube.com/embed/L4zTkMYcri8" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/L4zTkMYcri8" frameborder="0" allowfullscreen></iframe>

<iframe width="560" height="315" src="http://www.youtube.com/embed/6ElUruH92tc" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/6ElUruH92tc" frameborder="0" allowfullscreen></iframe>

<iframe width="560" height="315" src="http://www.youtube.com/embed/axFCk9KsMFc" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/axFCk9KsMFc" frameborder="0" allowfullscreen></iframe>
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ type: text/vnd.tiddlywiki

Esta breve introducción muestra cómo instalar y usar TiddlyDesktop (en inglés):

<iframe width="560" height="315" src="http://www.youtube.com/embed/i3Bggkm7paA" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/i3Bggkm7paA" frameborder="0" allowfullscreen></iframe>
2 changes: 1 addition & 1 deletion editions/es-ES/tiddlers/Introduction_Video.tid
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type: text/vnd.tiddlywiki

Esta breve presentación expone los principios básicos de TiddlyWiki.

<iframe width="560" height="315" src="http://www.youtube.com/embed/KtCUr83XgyE" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/KtCUr83XgyE" frameborder="0" allowfullscreen></iframe>

El TiddlyWiki usado para este video se encuentra aquí:

Expand Down
4 changes: 2 additions & 2 deletions editions/es-ES/tiddlers/OXTWIG.tid
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ También tenemos lista de correo: https://groups.google.com/forum/#!members/oxtw

La segunda reunión del OXTWIG se celebró el jueves 16 de enero de 2014:

<iframe width="560" height="315" src="http://www.youtube.com/embed/WOK_nVBf_6U" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/WOK_nVBf_6U" frameborder="0" allowfullscreen></iframe>

!! OXTWIG #1

La primera reunión del OXTWIG se celebró el jueves 21 de noviembre de 2013:

<iframe width="560" height="315" src="http://www.youtube.com/embed/tpNf_Dms_TE" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/tpNf_Dms_TE" frameborder="0" allowfullscreen></iframe>
2 changes: 1 addition & 1 deletion editions/es-ES/tiddlers/TiddlyWiki_Hangouts.tid
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ De todos modos, se anuncian debidamente en el [[Grupo de TiddlyWiki|https://grou

Los últimos //Hangouts// están archivados en este canal de ~YouTube:

<iframe width="560" height="315" src="http://www.youtube.com/embed/videoseries?list=PLVT_2PPd-1p34gGCQ5qpwC8QdykxVAI3u" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PLVT_2PPd-1p34gGCQ5qpwC8QdykxVAI3u" frameborder="0" allowfullscreen></iframe>
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ type: text/vnd.tiddlywiki

Este breve //screencast// muestra cómo configurar Firefox para Android para guardar cambios en TiddlyWiki:

<iframe width="560" height="315" src="http://www.youtube.com/embed/iikkv9orGGI" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/iikkv9orGGI" frameborder="0" allowfullscreen></iframe>

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion editions/fr-FR/tiddlers/Getting Started Video.tid
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Ce rapide tutoriel vous explique brièvement comment enregistrer vos modificatio

//Notez que cette vidéo est un peu ancienne, et qu'elle sera mise à jour bientôt !//

<iframe width="560" height="315" src="http://www.youtube.com/embed/1g66s7UbyuU" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/1g66s7UbyuU" frameborder="0" allowfullscreen></iframe>
2 changes: 1 addition & 1 deletion editions/fr-FR/tiddlers/HelloThere.tid
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Contrairement aux services en ligne classiques, TiddlyWiki vous permet de choisi
<a href="http://groups.google.com/group/TiddlyWiki" class="tc-btn-big-green" style="background-color:#FF8C19;" target="_blank" rel="noopener noreferrer">
{{$:/core/images/mail}} ~TiddlyWiki Mailing List
</a>
<a href="http://www.youtube.com/c/JeremyRuston" class="tc-btn-big-green" style="background-color:#e52d27;" target="_blank" rel="noopener noreferrer">
<a href="https://www.youtube.com/c/JeremyRuston" class="tc-btn-big-green" style="background-color:#e52d27;" target="_blank" rel="noopener noreferrer">
{{$:/core/images/video}} ~TiddlyWiki sur ~YouTube
</a>
<a href="https://twitter.com/TiddlyWiki" class="tc-btn-big-green" style="background-color:#5E9FCA;" target="_blank" rel="noopener noreferrer">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ N'importe qui peut proposer des améliorations à la documentation ~TiddlyWiki p

Mario Pietsch a créé pour vous ces tutoriels vidéos<<dp>>

<iframe width="560" height="315" src="http://www.youtube.com/embed/L4zTkMYcri8" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/L4zTkMYcri8" frameborder="0" allowfullscreen></iframe>

<iframe width="560" height="315" src="http://www.youtube.com/embed/6ElUruH92tc" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/6ElUruH92tc" frameborder="0" allowfullscreen></iframe>

<iframe width="560" height="315" src="http://www.youtube.com/embed/axFCk9KsMFc" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/axFCk9KsMFc" frameborder="0" allowfullscreen></iframe>
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ type: text/vnd.tiddlywiki

Cette courte introduction montre comment installer et utiliser TiddlyDesktop<<dp>>

<iframe width="560" height="315" src="http://www.youtube.com/embed/i3Bggkm7paA" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/i3Bggkm7paA" frameborder="0" allowfullscreen></iframe>
2 changes: 1 addition & 1 deletion editions/fr-FR/tiddlers/Introduction Video.tid
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type: text/vnd.tiddlywiki

Cette rapide présentation explique les principes de base de TiddlyWiki.

<iframe width="560" height="315" src="http://www.youtube.com/embed/KtCUr83XgyE" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/KtCUr83XgyE" frameborder="0" allowfullscreen></iframe>

On peut trouver le ~TiddlyWiki utilisé pour produire cette vidéo ici<<dp>>

Expand Down
2 changes: 1 addition & 1 deletion editions/fr-FR/tiddlers/JeremyRuston.tid
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ Je suis l'inventeur original de TiddlyWiki. Vous pouvez me retrouver sur ces ser
Encore plus d'infos<<:>>

* Une [[interview de moi sur The Inquirer|http://www.theinquirer.net/inquirer/feature/2105529/bt-software-engineer-tells-telco-source]] par Wendy Grossman
* Une [[interview hilarante avec moi|http://www.youtube.com/watch?v=auyIhw8MTmQ]] de la télévision britanique en 1983
* Une [[interview hilarante avec moi|https://www.youtube.com/watch?v=auyIhw8MTmQ]] de la télévision britanique en 1983
* Ici, un vidéo de présentation que j'ai réalisée en 2007 appelée [["How to Start an Open Source Project"|http://vimeo.com/856110]].
2 changes: 1 addition & 1 deletion editions/fr-FR/tiddlers/TiddlyWiki Hangouts.tid
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ La communauté TiddlyWiki tient régulièrement salon sur Google Hangouts, en g

Les échanges précédents sont archivés sur cette playlist YouTube<<dp>>

<iframe width="560" height="315" src="http://www.youtube.com/embed/videoseries?list=PLVT_2PPd-1p34gGCQ5qpwC8QdykxVAI3u" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PLVT_2PPd-1p34gGCQ5qpwC8QdykxVAI3u" frameborder="0" allowfullscreen></iframe>
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ type: text/vnd.tiddlywiki

Ce court screencast montre comment configurer Firefox pour Android afin de pouvoir sauvegarder les modification de TiddlyWiki<<dp>>

<iframe width="560" height="315" src="http://www.youtube.com/embed/iikkv9orGGI" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/iikkv9orGGI" frameborder="0" allowfullscreen></iframe>
4 changes: 3 additions & 1 deletion editions/full/tiddlywiki.info
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"tiddlywiki/codemirror",
"tiddlywiki/d3",
"tiddlywiki/github-fork-ribbon",
"tiddlywiki/googleanalytics",
"tiddlywiki/help",
"tiddlywiki/highlight",
"tiddlywiki/internals",
Expand All @@ -23,6 +22,7 @@
"tiddlywiki/stacked-view",
"tiddlywiki/text-slicer",
"tiddlywiki/xlsx-utils",
"tiddlywiki/sax",
"tiddlywiki/xmldom"
],
"languages": [
Expand All @@ -46,8 +46,10 @@
"nl-NL",
"pa-IN",
"pt-PT",
"pt-BR",
"ru-RU",
"sk-SK",
"sl-SI",
"sv-SE",
"zh-Hans",
"zh-Hant"
Expand Down

This file was deleted.

This file was deleted.

59 changes: 0 additions & 59 deletions editions/prerelease/tiddlers/Release 5.1.16.tid

This file was deleted.

43 changes: 43 additions & 0 deletions editions/prerelease/tiddlers/Release 5.1.17.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
caption: 5.1.17
created: 20180425155658451
modified: 20180425155658451
tags: ReleaseNotes
title: Release 5.1.17
type: text/vnd.tiddlywiki

//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.16...v5.1.17]]//

!! New and Improved Plugins

*

!! Translation Improvements

New and improved translations:

*

!! Usability Improvements

*

!! Hackability Improvements

*

!! Bug Fixes

*

!! Developer Bug Fixes and Improvements

*


! Contributors

[[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki:

* [[@example|https://github.com/example]]


This file was deleted.

3 changes: 0 additions & 3 deletions editions/prerelease/tiddlers/system/GoogleAnalyticsDomain.tid

This file was deleted.

6 changes: 3 additions & 3 deletions editions/prerelease/tiddlywiki.info
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"description": "Content for the current prerelease",
"plugins": [
"tiddlywiki/googleanalytics",
"tiddlywiki/nodewebkitsaver",
"tiddlywiki/github-fork-ribbon",
"tiddlywiki/browser-sniff",
Expand All @@ -14,8 +13,9 @@
"tiddlywiki/qrcode",
"tiddlywiki/bibtex",
"tiddlywiki/savetrail",
"tiddlywiki/twitter",
"tiddlywiki/external-attachments"
"tiddlywiki/external-attachments",
"tiddlywiki/dynaview",
"tiddlywiki/codemirror"
],
"themes": [
"tiddlywiki/vanilla",
Expand Down
18 changes: 10 additions & 8 deletions editions/text-slicer/tiddlers/Sample Text.tid

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion editions/text-slicer/tiddlywiki.info
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"description": "Tools for slicing up long texts into individual tiddlers",
"plugins": [
"tiddlywiki/text-slicer",
"tiddlywiki/xmldom"
"tiddlywiki/sax"
],
"languages": [
],
Expand Down
2 changes: 2 additions & 0 deletions editions/translators/tiddlywiki.info
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@
"ko-KR",
"nl-NL",
"pa-IN",
"pt-BR",
"pt-PT",
"ru-RU",
"sk-SK",
"sl-SI",
"sv-SE",
"zh-Hans",
"zh-Hant"
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Anyone can submit improvements to the TiddlyWiki documentation that appears on h

Mario Pietsch has created these short video tutorials:

<iframe width="560" height="315" src="http://www.youtube.com/embed/L4zTkMYcri8" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/L4zTkMYcri8" frameborder="0" allowfullscreen></iframe>

<iframe width="560" height="315" src="http://www.youtube.com/embed/6ElUruH92tc" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/6ElUruH92tc" frameborder="0" allowfullscreen></iframe>

<iframe width="560" height="315" src="http://www.youtube.com/embed/axFCk9KsMFc" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/axFCk9KsMFc" frameborder="0" allowfullscreen></iframe>
4 changes: 2 additions & 2 deletions editions/tw5.com/tiddlers/community/OXTWIG.tid
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ We have an email discussion list, too: https://groups.google.com/forum/#!members

The second OXTWIG meeting was held on Thursday 16th January 2014:

<iframe width="560" height="315" src="http://www.youtube.com/embed/WOK_nVBf_6U" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/WOK_nVBf_6U" frameborder="0" allowfullscreen></iframe>

! OXTWIG #1

The first OXTWIG meeting was held on Thursday 21st November 2013:

<iframe width="560" height="315" src="http://www.youtube.com/embed/tpNf_Dms_TE" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/tpNf_Dms_TE" frameborder="0" allowfullscreen></iframe>
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ The TiddlyWiki community holds regular Google Hangouts, usually every Tuesday fr

Past Hangouts are archived in this ~YouTube playlist:

<iframe width="560" height="315" src="http://www.youtube.com/embed/videoseries?list=PLVT_2PPd-1p34gGCQ5qpwC8QdykxVAI3u" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PLVT_2PPd-1p34gGCQ5qpwC8QdykxVAI3u" frameborder="0" allowfullscreen></iframe>
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ https://tiddlywiki.com/tiddlywiki-eu-meetup-2016/

Here's the stream of day 1:

<iframe width="560" height="315" src="http://www.youtube.com/embed/7o0ClSI7Tdg" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/7o0ClSI7Tdg" frameborder="0" allowfullscreen></iframe>

Here's day 2:

<iframe width="560" height="315" src="http://www.youtube.com/embed/ipXyZkC8tjM" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/ipXyZkC8tjM" frameborder="0" allowfullscreen></iframe>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
created: 20171212104509964
modified: 20171212104733995
tags: Resources
title: Plugins by Uwe Stuehler
type: text/vnd.tiddlywiki
url: https://ustuehler.github.io

A collection of plugins from Uwe Stuehler, including:

* Material Edition, a theme based on Google's "material" design language
* A wrapper for the [[MUURI plugin|https://github.com/haltu/muuri]], bringing complex "masonry"-style layouts to TiddlyWiki

{{!!url}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
created: 20180320020552940
modified: 20180320020554172
tags: Resources
title: TW5-SingleExecutable by Jed Carty
type: text/vnd.tiddlywiki
url: https://github.com/OokTech/TW5-SingleExecutable

TiddlyWiki5 Packaged with the multi-user plugin in a single executable file.

{{!!url}}

<<<
Tiddlywiki, node js, multiuser plugin - all packaged into a single file so user can just download the file and run it and not have to install anything else. Versions available for windows, osx, and linux.
<<<
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
created: 20180309162923236
modified: 20180309164105386
tags: Resources
title: Widdly by Opennota
type: text/vnd.tiddlywiki
url: https://github.com/opennota/widdly

A cross platform server application that can save tiddlers to a local database

{{!!url}}

<<<
a minimal self-hosted app, written in Go, that can serve as a backend for a personal TiddlyWiki.
<<<
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
created: 20171219171531482
modified: 20171219171730344
tags: Resources
title: "ATWiki" by Lamusia Project
type: text/vnd.tiddlywiki
url: https://lamusia.github.io/#ATWiki

A desktop application for TiddlyWiki, running on Windows.

{{!!url}}

<<<
TiddlyWiki for Windows. A unique non-linear notebook for capturing, organising and sharing complex information.
<<<
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
created: 20180309160958926
modified: 20180309160118848
tags: Resources
title: "Dynamic Tables" by Jed Carty
type: text/vnd.tiddlywiki
url: http://ooktech.com/jed/ExampleWikis/DynamicTables/

//''Dynamic Tables''// is a set of macros that allow you to create tables where the rows are created from tiddlers and the columns from the tiddler fields, or where the columns are created from tiddlers and the rows from their fields. Individual cells can be edited on the fly. Row tables can be sorted by columns and column tables can be sorted by rows.

{{!!url}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
created: 20171115160958926
modified: 20171115161136049
tags: Resources
title: "Tekan: Kanban that stays with you" by Riz
type: text/vnd.tiddlywiki
url: https://ibnishak.github.io/Tesseract/projects/tekan/Tekan.html

A Kanban implementation for TiddlyWiki with a familiar look and feel (see the [[demo|https://ibnishak.github.io/Tesseract/projects/tekan/]]).

{{!!url}}

<<<
This is Tekan, a TW based kanban. The easiest way to know tekan is to use it. So let us begin, shall we?
<<<


Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
caption: file-backups
created: 201711161655
delivery: Browser Extension
description: Browser extension for Firefox
method: save
modified: 201711161655
tags: Firefox Saving Resources plugins
title: "file-backups" Extension for Firefox by pmario
type: text/vnd.tiddlywiki
url: https://github.com/pmario/file-backups

An extension for Mozilla Firefox that smoothes out some of the friction from ~TiddlyWiki's built-in [[HTML5 fallback saver|Saving with the HTML5 fallback saver]], making it almost as easy to use as ~TiddlyFox. The workflow is intended to work out of the box, without configuration.

https://github.com/pmario/file-backups which contains links to the documentation and introduction video(s).

A chrome version is planned!
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
created: 20171219165418434
modified: 20171219165845495
tags: Resources
title: "muritest" by Simon Huber
type: text/vnd.tiddlywiki
url: http://muritest.tiddlyspot.com

A terrific demo of drag and drop, pan and zoom, and other sophisticated touch effects. Based on the [[muuri plugin by Uwe Stuehler|Plugins by Uwe Stuehler]].

{{!!url}}
12 changes: 12 additions & 0 deletions editions/tw5.com/tiddlers/concepts/DefaultTiddlers.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
created: 20180306113011255
modified: 20180306161225140
tags: Concepts
title: DefaultTiddlers
type: text/vnd.tiddlywiki

"Default tiddlers" refers to the list of tiddlers that is opened at startup in the browser if the address bar does not include a [[permalink|PermaLinks]]).

At startup, the text of the system tiddler [[$:/DefaultTiddlers]] is retrieved and evaluated as a [[filter expression|Filter Expression]]. The resulting list of titles is then inserted into the [[story river|Story River]].

The [[control panel|$:/ControlPanel]] ''info/basics'' tab includes a text box for direct access to [[$:/DefaultTiddlers]].

4 changes: 2 additions & 2 deletions editions/tw5.com/tiddlers/concepts/DictionaryTiddlers.tid
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
created: 20141228094500000
modified: 20141228094500000
modified: 20180305111822713
tags: Concepts
title: DictionaryTiddlers

A dictionary tiddler is a [[data tiddler|DataTiddlers]] containing a simple list of name/value pairs.
A dictionary tiddler is a [[data tiddler|DataTiddlers]] containing a simple list of `name: value` pairs.

Its [[ContentType]] is `application/x-tiddler-dictionary`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tags: Filters
title: Selection Constructors
type: text/vnd.tiddlywiki

The output of a [[filter|Filters]] step depends on its [[operator|Filter Operators]]:
The output of a [[Filter Step]] depends on its [[operator|Filter Operators]]:

* Most operators derive their output from their input. For example, many of them output a subset of their input, and thus truly live up to the name of <<.word filters>>, narrowing down the overall output of the containing [[run|Filter Run]]. These operators are called <<.def "selection modifiers">>.

Expand Down
94 changes: 49 additions & 45 deletions editions/tw5.com/tiddlers/concepts/SystemTags.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20130822080600000
modified: 20170516203741329
modified: 20180323092909513
tags: Concepts
title: SystemTags
type: text/vnd.tiddlywiki
Expand All @@ -11,50 +11,54 @@ System tags are used to give special behaviour to tiddlers.
These are the available system tags

|<<tag "$:/tags/AboveStory">> |for elements to be placed at the top of the story river |
|<<tag "$:/tags/AdvancedSearch>> |for search elements |
|<<tag "$:/tags/AdvancedSearch/FilterButton>> |for filter buttons |
|<<tag "$:/tags/Alert>> |for alerts |
|<<tag "$:/tags/BelowStory>> |for elements to be placed at the bottom of the story river |
|<<tag "$:/tags/ControlPanel>> |for control panel tabs |
|<<tag "$:/tags/ControlPanel/Advanced>> |for control panel advanced tabs |
|<<tag "$:/tags/ControlPanel/Appearance>> |for control panel appearance tabs |
|<<tag "$:/tags/ControlPanel/Info>> |for control panel info tabs |
|<<tag "$:/tags/ControlPanel/Saving>> |for saving configurations |
|<<tag "$:/tags/ControlPanel/Settings>> |for control panel settings tabs |
|<<tag "$:/tags/ControlPanel/Toolbars>> |for control panel toolbar customisation tabs |
|<<tag "$:/tags/EditorToolbar>> |for the editor toolbar buttons |
|<<tag "$:/tags/EditPreview>> |for custom preview panes |
|<<tag "$:/tags/EditTemplate>> |for the edit template |
|<<tag "$:/tags/EditToolbar>> |for the edit mode tiddler toolbar |
|<<tag "$:/tags/Exporter>> |for the exporters |
|<<tag "$:/tags/Filter>> |for filters in advanced seach sample filter dropdown |
|<<tag "$:/tags/Image>> |for (core) images |
|<<tag "$:/tags/Manager/ItemMain>> |for the tiddler manager. $:/Manager |
|<<tag "$:/tags/Manager/ItemSidebar>> |for the tiddler manager |
|<<tag "$:/tags/Macro>> |for global macros |
|<<tag "$:/tags/MoreSideBar>> |for tabs in the "more" sidebar |
|<<tag "$:/tags/MoreSideBar/Plugins>> |for Sidebar: More: Plugins tab |
|<<tag "$:/tags/PageControls>> |for the page control tools in the sidebar |
|<<tag "$:/tags/PageTemplate>> |for the main page elements |
|<<tag "$:/tags/Palette>> |for colour palettes |
|<<tag "$:/tags/PluginLibrary>> |for the plugin library |
|<<tag "$:/tags/RawMarkup>> |for raw markup to be included in the generated HTML file. To activate the tag, TiddlyWiki needs to be reloaded |
|<<tag "$:/tags/RawMarkupWikified>> |for raw markup to be included in the generated HTML file. To activate the tag, TiddlyWiki needs to be reloaded |
|<<tag "$:/tags/RawStaticContent>> |for "raw" content to be saved into the TW code. Be careful! |
|<<tag "$:/tags/RemoteAssetInfo>> |for plugin import handling |
|<<tag "$:/tags/SearchResults>> |for customised search results |
|<<tag "$:/tags/ServerConnection>> |for plugin import handling |
|<<tag "$:/tags/SideBar>> |for sidebar tabs | |
|<<tag "$:/tags/Stylesheet>> |to indicate that a tiddler should be applied as a CSS stylesheet | |
|<<tag "$:/tags/TagDropdown>> |for tags dropdown sorting |
|<<tag "$:/tags/Texteditor/Snippet>> |for text snippets |
|<<tag "$:/tags/TiddlerInfo>> |for tiddler info panel tabs |
|<<tag "$:/tags/TiddlerInfo/Advanced>> |for tabs under the advanced tiddler tab |
|<<tag "$:/tags/ToolbarButtonStyle>> |for the style of the buttons |
|<<tag "$:/tags/TopLeftBar>> |for the top left bar |
|<<tag "$:/tags/TopRightBar>> |for the top right bar |
|<<tag "$:/tags/ViewTemplate>> |for the view template |
|<<tag "$:/tags/ViewToolbar>> |for the view mode tiddler toolbar |
|<<tag "$:/tags/AdvancedSearch">> |for search elements |
|<<tag "$:/tags/AdvancedSearch/FilterButton">> |for filter buttons |
|<<tag "$:/tags/Alert">> |for alerts |
|<<tag "$:/tags/BelowStory">> |for elements to be placed at the bottom of the story river |
|<<tag "$:/tags/ControlPanel">> |for control panel tabs |
|<<tag "$:/tags/ControlPanel/Advanced">> |for control panel advanced tabs |
|<<tag "$:/tags/ControlPanel/Appearance">> |for control panel appearance tabs |
|<<tag "$:/tags/ControlPanel/Info">> |for control panel info tabs |
|<<tag "$:/tags/ControlPanel/Saving">> |for saving configurations |
|<<tag "$:/tags/ControlPanel/Settings">> |for control panel settings tabs |
|<<tag "$:/tags/ControlPanel/Toolbars">> |for control panel toolbar customisation tabs |
|<<tag "$:/tags/EditorToolbar">> |for the editor toolbar buttons |
|<<tag "$:/tags/EditPreview">> |for custom preview panes |
|<<tag "$:/tags/EditTemplate">> |for the edit template |
|<<tag "$:/tags/EditToolbar">> |for the edit mode tiddler toolbar |
|<<tag "$:/tags/Exporter">> |for the exporters |
|<<tag "$:/tags/Filter">> |for filters in advanced seach sample filter dropdown |
|<<tag "$:/tags/Image">> |for (core) images |
|<<tag "$:/tags/ImportPreview">> |for preview types for the import listing |
|<<tag "$:/tags/Manager/ItemMain">> |for the tiddler manager. $:/Manager |
|<<tag "$:/tags/Manager/ItemSidebar">> |for the tiddler manager |
|<<tag "$:/tags/Macro">> |for global macros |
|<<tag "$:/tags/MoreSideBar">> |for tabs in the "more" sidebar |
|<<tag "$:/tags/MoreSideBar/Plugins">> |for Sidebar: More: Plugins tab |
|<<tag "$:/tags/PageControls">> |for the page control tools in the sidebar |
|<<tag "$:/tags/PageTemplate">> |for the main page elements |
|<<tag "$:/tags/Palette">> |for colour palettes |
|<<tag "$:/tags/PluginLibrary">> |for the plugin library |
|<<tag "$:/tags/RawMarkup">> |for raw markup to be included in the generated HTML file. To activate the tag, TiddlyWiki needs to be reloaded |
|<<tag "$:/tags/RawMarkupWikified">> |for raw markup to be included in the generated HTML file. To activate the tag, TiddlyWiki needs to be reloaded |
|<<tag "$:/tags/RawStaticContent">> |for "raw" content to be saved into the TW code. Be careful! |
|<<tag "$:/tags/RemoteAssetInfo">> |for plugin import handling |
|<<tag "$:/tags/SearchResults">> |for customised search results |
|<<tag "$:/tags/ServerConnection">> |for plugin import handling |
|<<tag "$:/tags/SideBar">> |for sidebar tabs |
|<<tag "$:/tags/StartupAction">> |startup actions executed on all platforms |
|<<tag "$:/tags/StartupAction/Browser">> |startup actions only executed when running in the browser |
|<<tag "$:/tags/StartupAction/Node">> |startup actions only executed when running under Node.js |
|<<tag "$:/tags/Stylesheet">> |to indicate that a tiddler should be applied as a CSS stylesheet |
|<<tag "$:/tags/TagDropdown">> |for tags dropdown sorting |
|<<tag "$:/tags/Texteditor/Snippet">> |for text snippets |
|<<tag "$:/tags/TiddlerInfo">> |for tiddler info panel tabs |
|<<tag "$:/tags/TiddlerInfo/Advanced">> |for tabs under the advanced tiddler tab |
|<<tag "$:/tags/ToolbarButtonStyle">> |for the style of the buttons |
|<<tag "$:/tags/TopLeftBar">> |for the top left bar |
|<<tag "$:/tags/TopRightBar">> |for the top right bar |
|<<tag "$:/tags/ViewTemplate">> |for the view template |
|<<tag "$:/tags/ViewToolbar">> |for the view mode tiddler toolbar |

! ~TiddlyWiki plugins

Expand Down
14 changes: 9 additions & 5 deletions editions/tw5.com/tiddlers/concepts/SystemTiddlers.tid
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
title: SystemTiddlers
created: 20180113144350185
modified: 20180113153832195
tags: Concepts
title: SystemTiddlers
type: text/vnd.tiddlywiki

Tiddlers are classified as system tiddlers if their title starts with the special string `$:/`. The only difference from ordinary tiddlers is that they are hidden from most searches and lists in the sidebar. (In particular, system tiddlers are shown in the "More/System" list).

System tiddlers are any tiddler whose title starts with `$:/`; such tiddlers are automatically hidden from most operations. They don't show up in lists or search results, but linking to one directly works in the usual way.
System tiddlers provide a simple way to hide the internal components of TiddlyWiki so that they don't clutter things up, getting in the way of the users content.

TiddlyWiki models everything as [[tiddlers|Tiddlers]], including its internal components and configuration. Thus, even an apparently empty TiddlyWiki actually contains dozens of tiddlers that are necessary to enable it function correctly. Using system tiddlers prevents them from confusing casual users.
Many of the system tiddlers follow the convention of using further slashes to delineate the components of the title. For example: `$:/config/BitmapEditor/LineWidth`.

The current system tiddlers are:
You don't need to create your own system tiddlers, but it can be useful when customising TiddlyWiki. For example, if you create a custom palette you might call it `$:/_MyPalette` so that (a) it is hidden from searches/lists and (b) it will appear at the top of the system tiddler list for easy reference.

<$list filter="[is[system]sort[title]]"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
created: 20180305174809089
modified: 20180306161405033
tags: [[Customise TiddlyWiki]]
title: Configuring startup tiddlers
type: text/vnd.tiddlywiki

You can configure ~TiddlyWiki to start up using whatever individual or group of tiddlers you want using the [[default tiddlers|DefaultTiddlers]] mechanism.

In the control panel under the info tab is an input field labeled "Choose which tiddlers are displayed at startup". You can list whatever tiddlers you want to open at startup. Use double square brackets for titles containing spaces. For example:

```
FirstTiddler
SecondTiddler
[[Third Tiddler]]
```

You can also use [[filter expressions|Filter Expression]] to open more than one tiddler. For example:

```
[tag[HelloThere]]
```

will open all tiddlers tagged as <<tag HelloThere>>.

You can also use this technique to [[preserve open tiddlers at startup|Preserving open tiddlers at startup]]
2 changes: 1 addition & 1 deletion editions/tw5.com/tiddlers/definitions/JeremyRuston.tid
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ I'm the original inventor of TiddlyWiki. You can hire me through [[Federatial]],
Further information:

* An [[interview with me in The Inquirer|http://www.theinquirer.net/inquirer/feature/2105529/bt-software-engineer-tells-telco-source]] by Wendy Grossman
* A [[hilarious interview with me|http://www.youtube.com/watch?v=auyIhw8MTmQ]] from British television in 1983
* A [[hilarious interview with me|https://www.youtube.com/watch?v=auyIhw8MTmQ]] from British television in 1983
* Here's a video of a presentation I did in 2007 called [["How to Start an Open Source Project"|http://vimeo.com/856110]].
9 changes: 5 additions & 4 deletions editions/tw5.com/tiddlers/definitions/TiddlySpace.tid
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
created: 201308300842
modified: 201308300842
created: 20130830084200000
modified: 20180421162644074
tags: Definitions
title: TiddlySpace
type: text/vnd.tiddlywiki

TiddlySpace is an environment for discourse on the web, built from TiddlyWeb.
TiddlySpace was a public TiddlyWiki hosting service that operated from 2010 until 2016.

TiddlySpace was originally sponsored by [[Osmosoft]] at [[BT]].
TiddlySpace, and the underlying TiddlyWeb, was originally sponsored by [[Osmosoft]] at [[BT]].
6 changes: 6 additions & 0 deletions editions/tw5.com/tiddlers/demonstrations/Apple.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
created: 20180222072026299
list: [[Apple 6]] [[Apple 7]] [[Apple 8]] [[Apple 9]] [[Apple 10]] [[Apple 20]] [[Apple 30]] [[Apple 100]]
modified: 20180222072215582
tags:
title: Apple

2 changes: 1 addition & 1 deletion editions/tw5.com/tiddlers/demonstrations/GroupedLists.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
title: GroupedLists
tags: ListWidget
tags: ListWidget Lists
created: 20150106180000000
modified: 20150221230117000

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: SampleTiddlerFirst
tags: sampletag1 sampletag2

This is test tiddler SampleTiddlerFirst.
This is a test tiddler called SampleTiddlerFirst.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: SampleTiddlerSecond
tags: sampletag1 sampletag2

This is test tiddler SampleTiddlerSecond.
This test tiddler is called SampleTiddlerSecond.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: SampleTiddlerThird
tags: sampletag1 sampletag2

This is test tiddler SampleTiddlerThird.
This tiddler SampleTiddlerThird is the third test tiddler.
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
created: 20130825213300000
modified: 20140919161411400
modified: 20180307153530187
tags: Learning
title: TaskManagementExample
type: text/vnd.tiddlywiki

TiddlyWiki5 can be used as a simple task management system without further customisation. The idea is that tasks be tagged `task`, with those that are completed also tagged `done`. In this way it is straightforward to generate task lists.

<<.tip """There is [[an enhanced version of this demo|TaskManagementExample (Draggable)]] that adds the ability to drag and drop the tasks to re-order them.""">>

! Outstanding tasks

<$list filter="[!has[draft.of]tag[task]!tag[done]sort[created]]">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
created: 20180307153530187
modified: 20180307153530187
tags: Learning
title: TaskManagementExample (Draggable)
type: text/vnd.tiddlywiki

This is a version of the TaskManagementDemo enhanced with the ability to drag and drop the task list to re-order them.

! Outstanding tasks

//Drag the tasks to re-order them//

<<list-tagged-draggable tag:"task" subFilter:"!has[draft.of]!tag[done]" itemTemplate:"TaskManagementExampleDraggableTemplate" emptyMessage:"You don't have any active tasks">>

! Completed tasks

//(Listed in reverse order of completion)//

<$list filter="[!has[draft.of]tag[task]tag[done]sort[created]]">
<div>
<$checkbox tag="done"> ~~<$link to={{!!title}}><$view field="title"/></$link>~~</$checkbox>
</div>
</$list>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
created: 20180307153530187
modified: 20180307153530187
tags: Learning
title: TaskManagementExampleDraggableTemplate
type: text/vnd.tiddlywiki

<$checkbox tag="done"> <$link to={{!!title}}><$view field="title"/></$link></$checkbox>
31 changes: 31 additions & 0 deletions editions/tw5.com/tiddlers/features/StartupActions.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
created: 20180323092308399
modified: 20180323092547312
tags: Features
title: StartupActions
type: text/vnd.tiddlywiki

During startup, TiddlyWiki executes any ActionWidgets found in tiddlers with the following system tags:

* <<tag "$:/tags/StartupAction">> (executed on all platforms)
* <<tag "$:/tags/StartupAction/Browser">> (only executed when running in the browser)
* <<tag "$:/tags/StartupAction/Node">> (only executed when running under Node.js)

Startup actions are useful for customising TiddlyWiki according to environmental factors such as the screen size. For example, the following action widgets when placed in a tiddler tagged <<tag "$:/tags/StartupAction/Browser">> will cause the sidebar to be hidden by default when the screen width is less than 1000 pixels:

```
<$reveal type="lt" state="$:/info/browser/screen/width" text="3000">
<$action-setfield $tiddler="$:/state/sidebar" $value="no"/>
</$reveal>

<$reveal type="gteq" state="$:/info/browser/screen/width" text="3000">
<$action-setfield $tiddler="$:/state/sidebar" $value="yes"/>
</$reveal>
```

Note that global macros are not available within startup action tiddlers by default. If you need to access them then you'll need to explicitly include them:

```
<$importvariables filter="[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]">
...actions that depend upon global macros...
</$importvariables>
```
2 changes: 2 additions & 0 deletions editions/tw5.com/tiddlers/filters/examples/each.tid
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ type: text/vnd.tiddlywiki
<<.operator-example 1 "[each[color]]">>
<<.operator-example 2 "[sort[title]each[type]]" "the alphabetically first tiddler of each type">>
<<.operator-example 3 "[each:list-item[list]]" "all tiddlers listed anywhere in the core list field">>
<<.operator-example 4 "[[Non existing]] [[GettingStarted]] +[each:value[]]" "Compare this to `+[each[]]` below">>
<<.operator-example 5 "[[Non existing]] [[GettingStarted]] +[each[]]" "Compare this to `+[each:value[]]` above">>

For an example of using the <<.op each>> operator to generate a two-tier list of groups and members, see [[GroupedLists]].
1 change: 1 addition & 0 deletions editions/tw5.com/tiddlers/filters/examples/is.tid
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ type: text/vnd.tiddlywiki
<<.operator-example 5 "[all[shadows]is[system]tag[$:/tags/Stylesheet]]" "shadow system stylesheets">>
<<.operator-example 6 "[is[shadow]]" "overridden shadow tiddlers">>
<<.operator-example 7 "[is[missing]]" "empty because its input contains only tiddlers that exist">>
<<.operator-example 8 "[all[tiddlers+shadows]is[tiddler+shadow]]" "contains the entire input list">>
12 changes: 12 additions & 0 deletions editions/tw5.com/tiddlers/filters/examples/sortan.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
created: 20180222071947788
modified: 20180222072601161
tags: [[sortan Operator]] [[Operator Examples]]
title: sortan Operator (Examples)
type: text/vnd.tiddlywiki

These examples make use of the [[Apple]] tiddler.

<<.operator-example 1 "[list[Apple]sortan[]]">>
<<.operator-example 2 "[list[Apple]!sortan[]]">>
<<.operator-example 3 "App-10-A App-9-B App-10-B App-9-A +[sortan[]]">>

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
created: 20180403164143915
modified: 20180403164257147
tags: [[plugintiddlers Operator]] [[Operator Examples]]
title: subtiddlerfields Operator (Examples)
type: text/vnd.tiddlywiki

<<.operator-example 1 "[[$:/core/copyright.txt]subtiddlerfields[$:/core]]">>

6 changes: 5 additions & 1 deletion editions/tw5.com/tiddlers/filters/is.tid
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ op-parameter-name: C
op-output: those input tiddlers that belong to category <<.place C>>
op-neg-output: those input tiddlers that do <<.em not>> belong to category <<.place C>>

The parameter <<.place C>> is one of the following fundamental categories:
The parameter <<.place C>> specifies zero or more fundamental categories using the following syntax:

<$railroad text="""
[{: ("current" | "missing" |: "orphans" | "shadows" | "tags" | "tiddlers" ) +"+" }]
"""/>

|!Category |!Matches any tiddler that... |
|^`current` |is the [[current tiddler|Current Tiddler]] |
Expand Down
16 changes: 16 additions & 0 deletions editions/tw5.com/tiddlers/filters/sortan.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
caption: sortan
created: 20180222071605739
modified: 20180223012553446
op-input: a [[selection of titles|Title Selection]]
op-neg-output: the input, likewise sorted into descending order
op-output: the input, sorted into ascending order by field <<.field F>>, treating field values as alphanumerics
op-parameter: the name of a [[field|TiddlerFields]], defaulting to <<.field title>>
op-parameter-name: F
op-purpose: sort the input by text field considering them as alphanumerics
tags: [[Filter Operators]] [[Common Operators]] [[Field Operators]] [[Order Operators]] [[Negatable Operators]]
title: sortan Operator
type: text/vnd.tiddlywiki

The difference between uppercase and lowercase letters is ignored.

<<.operator-examples "sortan">>
13 changes: 13 additions & 0 deletions editions/tw5.com/tiddlers/filters/subtiddlerfields Operator.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
caption: subtiddlerfields
created: 20180403164138703
modified: 20180403164644231
op-input: a [[selection|Title Selection]] of tiddler titles
op-output: all field names present in the selected tiddlers within the plugin named <<.place P>>
op-parameter: the title of a plugin
op-parameter-name: P
op-purpose: select all fields present in the selected tiddlers within a plugin
tags: [[Filter Operators]] [[Special Operators]]
title: subtiddlerfields Operator
type: text/vnd.tiddlywiki

<<.operator-examples "subtiddlerfields">>
32 changes: 26 additions & 6 deletions editions/tw5.com/tiddlers/filters/syntax/Filter Expression.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20150124182421000
modified: 20150124184900000
modified: 20171212073225103
tags: [[Filter Syntax]]
title: Filter Expression
type: text/vnd.tiddlywiki
Expand All @@ -14,15 +14,35 @@ type: text/vnd.tiddlywiki

A <<.def "filter expression">> is the outermost level of the [[filter syntax|Filter Syntax]]. It consists of one or more [[runs|Filter Run]].

A run's input is normally a list of all the non-[[shadow|ShadowTiddlers]] tiddler titles in the wiki (in no particular order). But the `+` prefix can change this.
If a run has:

* If a run has no `+` or `-` prefix, its output titles are [[dominantly appended|Dominant Append]] to the filter's output.
* If a run has a `-` prefix, its output titles are <<.em removed>> from the filter's output (if they were present).
* If a run has a `+` prefix, it receives the filter's output so far as its input. The filter's output is then completely <<.em replaced>> by the run's output. Any subsequent run reverts to receiving all tiddler titles as its input, unless it too has a `+` prefix.
* no prefix, its output titles are [[dominantly appended|Dominant Append]] to the filter's output
* the prefix `-`, output titles are <<.em removed>> from the filter's output (if such tiddlers exist)
* the prefix `+`, it receives the filter output so far as its input; its output then <<.em "replaces">> all filter ouput so far and forms the input for the next run

In concise technical terms:
In technical / logical terms:

|!Run |!Interpretation |!Output |
|`run` |union of sets |... OR run |
|`+run` |intersection of sets |... AND run |
|`-run` |difference of sets |... AND NOT run |

A run's input is normally a list of all the non-[[shadow|ShadowTiddlers]] tiddler titles in the wiki (in no particular order). But the `+` prefix can change this:

|Prefix|Input|h
|`-` or none| <$link to="all Operator">`[all[]]`</$link> tiddler titles, unless otherwise determined by the first [[filter operator|Filter Operators]]|
|`+`|the filter output of all previous runs so far|

Precisely because of varying inputs, be aware that both prefixes `-` and `+` do not behave inverse to one another!

For example, in both of the following, `$:/baz` will only be removed if it actually exists:

* <$link to="is Operator"> `foo bar $:/baz -[is[system]]`</$link>
* <$link to="prefix Operator">`foo bar $:/baz -[prefix[$:/]]`</$link>

To understand why, consider the input for both final runs with their `-` prefix.

In order to remove `$:/baz` in any case, existing or not, simply use the `+` prefix with [[negated filter operators|Filter Operators]]:

* <$link to="is Operator">`foo bar $:/baz +[!is[system]]`</$link>
* <$link to="prefix Operator">`foo bar $:/baz +[!prefix[$:/]]`</$link>
6 changes: 3 additions & 3 deletions editions/tw5.com/tiddlers/hellothere/HelloThere.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20130822170200000
list: [[A Gentle Guide to TiddlyWiki]] [[Discover TiddlyWiki]] [[Some of the things you can do with TiddlyWiki]] [[Ten reasons to switch to TiddlyWiki]] Examples [[What happened to the original TiddlyWiki?]] [[HelloThumbnail - TWEUM2017]]
modified: 20171114122602640
modified: 20180425155658451
tags: TableOfContents
title: HelloThere
type: text/vnd.tiddlywiki
Expand All @@ -19,9 +19,9 @@ Unlike conventional online services, TiddlyWiki lets you choose where to keep yo

<div style="font-size:0.7em;text-align:center;margin-top:3em;margin-bottom:3em;">
<a href="http://groups.google.com/group/TiddlyWiki" class="tc-btn-big-green" style="background-color:#FF8C19;" target="_blank" rel="noopener noreferrer">
{{$:/core/images/list}} ~TiddlyWiki Forum
{{$:/core/images/help}} ~TiddlyWiki Forum
</a>
<a href="http://www.youtube.com/c/JeremyRuston" class="tc-btn-big-green" style="background-color:#e52d27;" target="_blank" rel="noopener noreferrer">
<a href="https://www.youtube.com/c/JeremyRuston" class="tc-btn-big-green" style="background-color:#e52d27;" target="_blank" rel="noopener noreferrer">
{{$:/core/images/video}} ~TiddlyWiki on ~YouTube
</a>
<a href="https://twitter.com/TiddlyWiki" class="tc-btn-big-green" style="background-color:#5E9FCA;" target="_blank" rel="noopener noreferrer">
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title: HelloThumbnail - TiddlyFox Apocalypse
tags: HelloThumbnail
color: #B7D5EA
background-color: #fff
caption: ~TiddlyFox Apocalypse
link: TiddlyFox Apocalypse
image: TiddlyFox Apocalypse.png
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
created: 201712032331
modified: 201712032331
tags: [[Hidden Settings]]
title: Hidden Setting: Tags Minimum Length
type: text/vnd.tiddlywiki

<<.from-version "5.1.16">> Tag Dropdown: Controls the minimum length of an input string before results are displayed.

Defaults to "0".

$:/config/Tags/MinLength
39 changes: 39 additions & 0 deletions editions/tw5.com/tiddlers/howtos/Custom Styles by title.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
created: 201804111739
modified: 201804111739
tags: [[How to apply custom styles]]
title: Custom styles by data-tiddler-title
type: text/vnd.tiddlywiki

! Attribute: data-tiddler-title

<<.from-version "5.1.16">>

The ~TiddlyWiki core adds several `attributes` to the rendered content. With those attributes it's possible to apply custom styles to the tiddler content.

For example this tiddler is named: "{{!!title}}" so the attribute looks like this:

```
data-tiddler-title="Custom styles by title"
```

!! Examples

The following CSS is defined in [[Custom data-styles]] and creates a blue border for exactly this tiddler.

```
[data-tiddler-title="Custom styles by title"] {
border: 1px solid blue;
}
```

To create a green border for every tiddler that starts with `$:/` aka system tiddlers, you'd need to use CSS like so: (not applied here but you can experiment with it! )

```
[data-tiddler-title^="$:/"] {
border: 1px solid green;
}
```

!! More Possibilities

{{Attribute Selectors}}
26 changes: 26 additions & 0 deletions editions/tw5.com/tiddlers/howtos/Custom Styles by userClass.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
created: 201804111739
modified: 201804111739
title: Custom styles by user-class
tags: [[How to apply custom styles]]
type: text/vnd.tiddlywiki

''Tiddler Field: `class`'' <<.from-version "5.1.16">>

The [[tag manager|$:/TagManager]] allows us to set a tiddler `color` field, that is used to define the "tag-pill" colour. Since: <<.from-version "5.1.16">> we can define a `class` field, that is directly inserted into the [[ViewTemplate|$:/core/ui/ViewTemplate]] and it can be used for styling:

"""
title: `anyName`
tags: `$:/tags/Stylesheet`
class: `myClass`
"""

Every tiddler, that has a `class` field can be styled that way!

```
.myClass {
border: 2px solid blue;
}

```

Learn more at: [[How to apply custom styles]]
31 changes: 31 additions & 0 deletions editions/tw5.com/tiddlers/howtos/Custom_Attribute_Selectors.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
created: 20170126152839462
modified: 201804111739
tags: [[Custom data-styles]]
title: Attribute Selectors
type: text/vnd.tiddlywiki

;[attr]
:Represents an element with an attribute name of attr.

;[attr="value"]
:Represents an element with an attribute name of attr and whose value is exactly "value".

;[attr~="value"]
:Represents an element with an attribute name of attr whose value is a whitespace-separated list of words, one of which is exactly "value".

;[attr|="value"]
:Represents an element with an attribute name of attr. Its value can be exactly “value” or can begin with “value” immediately followed by “-” (U+002D). It can be used for language subcode matches.

;[attr^="value"]
:Represents an element with an attribute name of attr and whose first value is prefixed by "value".

;[attr$="value"]
:Represents an element with an attribute name of attr and whose last value is suffixed by "value".

;[attr*="value"]
:Represents an element with an attribute name of attr and whose value contains at least one occurrence of string "value" as substring.

;[attr "operator value" i]
:Adding an i (or I) before the closing bracket causes the value to be compared case-insensitively (for characters within the ASCII range).

Learn more at: [[Attribute selectors - CSS|https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors]] or [[CSS-Specification|https://www.w3.org/TR/CSS22/selector.html#attribute-selectors]]
9 changes: 9 additions & 0 deletions editions/tw5.com/tiddlers/howtos/Custom_Styles_FAQ.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
modified: 201804111739
created: 201804111739
title: Custom Styles FAQ
tags: [[How to apply custom styles]] FAQ-group
type: text/vnd.tiddlywiki

<<.from-version "5.1.16">>

<<list-links "[tag[Custom Styles FAQ]]">>
35 changes: 35 additions & 0 deletions editions/tw5.com/tiddlers/howtos/Custom_data-styles.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
created: 201804111739
modified: 201804111739
tags: data-tags-styles [[How to apply custom styles]] $:/tags/Stylesheet
title: Custom data-styles
type: text/vnd.tiddlywiki

[data-tiddler-title="Custom styles by title"] {
border: 1px solid blue;
}

[data-tags*="example-test"] {
border: 2px solid pink;
}

[data-tags*="example-hardlinebreaks"] .tc-tiddler-body {
word-break: normal;
word-wrap: break-word;
white-space: pre-wrap;
}

[data-tags*="data-tags-styles"] .tc-tiddler-body {
display: block;
padding: 14px;
margin-top: 1em;
margin-bottom: 1em;
word-break: normal;
word-wrap: break-word;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #cccccc;
padding: 0 3px 2px;
border-radius: 3px;
font-family: Monaco, Consolas, "Lucida Console", "DejaVu Sans Mono", monospace;
}

60 changes: 60 additions & 0 deletions editions/tw5.com/tiddlers/howtos/Custom_styles_by_data-tags.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
created: 20170124132500000
modified: 201804111739
tags: example-test [[How to apply custom styles]]
title: Custom styles by data-tags
type: text/vnd.tiddlywiki

! Attribute: data-tags

<<.from-version "5.1.16">>

The ~TiddlyWiki core adds several `attributes` to the rendered content. With those attributes it's possible to apply custom styles to the tiddler content.

For example this tiddler is tagged: <<tag "How to apply custom styles">> and <<tag "example-test">> so the attribute looks like this:

```
data-tags="[[How to apply custom styles]] example-test"
```

''Important:'' Tiddler tags are ''not'' sorted, so the order in the rendered output may be different!

!! Examples

The following CSS is defined in [[Custom data-styles]] and creates a pink border for exactly this tiddler.

```
[data-tags*="example-test"] {
border: 2px solid pink;
}
```

!!! Styling Stylesheets

So to display tiddlers tagged: `data-tags-styles` in a decent way we can use the following code. (I could have used: `$:/tags/Stylesheet`, but that would affect all stylesheets in this wiki, which is not intended. amt ;)

''Important:'' Don't forget the `.tc.tiddler.body`, otherwise the whole tiddler, including the title will be changed! see: [[Custom data-styles]]

```
[data-tags*="data-tags-styles"] .tc-tiddler-body {
display: block;
padding: 14px;
margin-top: 1em;
margin-bottom: 1em;
word-break: normal;
word-wrap: break-word;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #cccccc;
padding: 0 3px 2px;
border-radius: 3px;
font-family: Monaco, Consolas, "Lucida Console", "DejaVu Sans Mono", monospace;
}
```

!! Hard Linebreaks

This mechanism may be handy for users, who want to write prose text! see: [[Hard Linebreaks with CSS]]

!! More Possibilities

{{Attribute Selectors}}
26 changes: 26 additions & 0 deletions editions/tw5.com/tiddlers/howtos/Hard_Linebreaks_with_CSS.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
created: 20170126174506507
modified: 20170126211042714
tags: [[Hard Linebreaks in WikiText]]
title: Hard Linebreaks with CSS
type: text/vnd.tiddlywiki

Since TiddlyWiki Version 5.1.16, it's possible to apply customs styles with `data-` attributes. see: [[How to apply custom styles]]

The [[Custom data-styles]] stylesheet tiddler contains the following definition:

```
[data-tags*="example-hardlinebreaks"] .tc-tiddler-body {
word-break: normal;
word-wrap: break-word;
white-space: pre-wrap;
}
```

If rendered without the tag, the content of "Hard Linebreaks with CSS - Example" will be shown like this:

>{{Hard Linebreaks with CSS - Example}}

----

Open the tiddler to see the custom CSS rules applied: [[Hard Linebreaks with CSS - Example]]

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
created: 20170126161803543
modified: 20170126211025840
tags: example-hardlinebreaks [[Hard Linebreaks in WikiText]]
title: Hard Linebreaks with CSS - Example
type: text/vnd.tiddlywiki

The following text is rendered without any special WikiText syntax. So most of the ~WikiText functionality will be accessible.

This is a line
and this is a new line
while this is yet another line
and this is the final one
apart from this one

Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
caption: {{!!title}} - ^^deprecated^^
created: 20141001132300000
modified: 20151005074702387
tags: Learning
modified: 201804111739
tags: [[How to apply custom styles]] $:/deprecated
title: How to apply custom styles by tag
type: text/vnd.tiddlywiki

<<.deprecated-since "5.1.16 <- click" "Custom styles by data-tags">>. Also see: [[How to apply custom styles]]

----

You can apply custom styles to tiddlers that have a particular tag by defining a CSS class with the name `tc-tagged-<Tag Name>`.

For example, to make tiddlers tagged "NightReader" appear in a special colour scheme suitable for night-time reading, [[create a stylesheet|Using Stylesheets]] defining the class `tc-tagged-NightReader` like this:
Expand Down
10 changes: 10 additions & 0 deletions editions/tw5.com/tiddlers/howtos/How to apply custom styles.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
created: 20141001132300000
list: [[Custom styles by data-tags]] [[Custom styles by title]]
modified: 201804111740
tags: [[Customise TiddlyWiki]]
title: How to apply custom styles
type: text/vnd.tiddlywiki

At the moment there are several ways to apply custom styles.

<<list-links filter:"[tag[How to apply custom styles]]">>
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
created: 20180309232911422
modified: 20180310201216266
tags: Learning
title: How to hide the author's and other fields with CSS
type: text/vnd.tiddlywiki

Sometimes you might want to save some screen space by hiding away the author's name in all tiddlers. Here's a quick way to do it:

* Create a new tiddler with any title you want.
* Give the tiddler the tag `$:/tags/Stylesheet`
* In the text field of the tiddler put:

```
.tc-subtitle .tc-tiddlylink {display:none;}
```

* Save the tiddler. The author's name field should no longer appear.

Similarly, the entire subtitle field including author and date can be removed with:

```
.tc-subtitle {display:none;}
```

Unfortunately, you can't hide just the date without also hiding the author using CSS.

And finally, for a truly minimalist look, you can remove the title with:

```
h2.tc-title {display:none;)
```
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20160424150551727
modified: 20161218024440693
modified: 20171114215846324
tags: [[Customise TiddlyWiki]]
title: Making a custom journal button
type: text/vnd.tiddlywiki
Expand All @@ -9,7 +9,8 @@ To get your own ''//custom//'' Journal button, start by cloning the [[New Journa
Then create your own config tiddlers, eg:

* ``$:/config/myNewTiddler/Tags`` and ...
* ``$:/config/myNewTiddler/Title``
* ``$:/config/myNewTiddler/Title`` and ...
* ``$:/config/myNewTiddler/Text``


Edit your custom button and "search and replace" the config tiddler names.
Expand All @@ -20,19 +21,21 @@ from
```
<$set name="journalTitleTemplate" value={{$:/config/NewJournal/Title}}>
<$set name="journalTags" value={{$:/config/NewJournal/Tags}}>
<$set name="journalText" value={{$:/config/NewJournal/Text}}>
```

to

```
<$set name="journalTitleTemplate" value={{$:/config/myNewTiddler/Title}}>
<$set name="journalTags" value={{$:/config/myNewTiddler/Tags}}>

<$set name="journalText" value={{$:/config/myNewTiddler/Text}}>
```

if you want to see your config tiddlers in the sidebar use:

```
<$set name="journalTitleTemplate" value={{config/myNewTiddler/Title}}>
<$set name="journalTags" value={{config/myNewTiddler/Tags}}>
<$set name="journalText" value={{config/myNewTiddler/Text}}>
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
created: 20180310002601813
modified: 20180310003428093
tags: Learning
title: Simple ways to write protect tiddlers
type: text/vnd.tiddlywiki

Sometimes you want to protect individual tiddlers from accidental changes, either from yourself or guests to your ~TiddlyWiki file. Here's a couple simple approaches. Note that these do not provide hardened protection against a wilful attack.

!! Using a stylesheet to lock tiddlers by tag name

Create a tiddler with the following contents and tag it as `$:/tags/Stylesheet` :

```
.tc-tagged-Locked button[title="Edit this tiddler"] {display: none;}

```

If your TW language isn't English, then you'll need to change the text in 'title="...."' to whatever the text is when you hover over the edit button.

Now any tiddler you tag as "Locked" will have the edit button hidden. To get it back you will need to open the stylesheet tiddler and change "none" to "inline".

!! Using transclusion to hide your tiddler in a system tiddler

* Open your tiddler for editing.
* Select the title and copy.
* Select all the tiddler text.
* Click on the excise tool.
* In the title box, type `$:/` and then paste the original title.
* Use the defaults to excise and and leave a transclusion

Now you can view the contents of your original tiddler, but to edit them your will have to find the the tiddler with the `$:/` prefix.
51 changes: 28 additions & 23 deletions editions/tw5.com/tiddlers/howtos/Using Stylesheets.tid
Original file line number Diff line number Diff line change
@@ -1,46 +1,51 @@
created: 20140305091244145
modified: 20150221175658000
modified: 201804111739
tags: [[Customise TiddlyWiki]]
title: Using Stylesheets
type: text/vnd.tiddlywiki

The first steps to changing the appearance of TiddlyWiki are to choose and apply one of the available themes, or to modify the [[colour palette|ColourPalettes]].
\define tv-config-toolbar-text() yes

In addition, custom [[CSS stylesheets|http://www.w3schools.com/css]] can be defined by tagging a tiddler `$:/tags/Stylesheet`. Try creating a custom stylesheet now with the following content in order to change the page background colour to red:
\define openCpTheme()
<$action-setfield $tiddler="$:/state/tab-1749438307" $value="$:/core/ui/ControlPanel/Appearance"/>
<$action-setfield $tiddler="$:/state/tab--1963855381" $value="$:/core/ui/ControlPanel/Theme"/>
<$action-navigate $to="$:/ControlPanel"/>
\end

```
html body.tc-body {
background: red;
}
```
! Theme and Colorpalette

! Overriding Theme Settings
The first steps to changing the appearance of ~TiddlyWiki are to choose and apply:

Custom stylesheets are applied independently from theme stylesheets. Therefore, it is often necessary for the css rules in your custom stylesheet to be more specific than those of the theme you want to override. For example, `html body.tc-body` is more specific than `body.tc-body`.
* One of the available themes: <span class="tc-btn-standard"> {{$:/core/ui/Buttons/theme}} </span>
* Modify the colour palette: <span class="tc-btn-standard"> {{$:/core/ui/Buttons/palette}} </span>
* Experiment with the <$button actions=<<openCpTheme>> >{{$:/core/images/options-button}} ControlPanel</$button>

!!! Ordering of stylesheets
! Work with Stylesheets

Ordering of stylesheets is controlled in the main stylesheet $:/core/ui/PageStylesheet by the following list filter:
In addition to the control panel, custom styles can be defined by tagging a tiddler `$:/tags/Stylesheet`. Try creating a custom stylesheet now with the following content in order to change the page background colour to red:

```
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Stylesheet]]"/>
body.tc-body {
background: red;
}
```

With help of a list-after field in a custom stylesheet, the order of the stylesheets can be rearranged to ease overwriting theme styles.
!! Additional Resrouces

<<<
To check the order of all stylesheets in use, enter the following filter in the filter tab of Advanced search:
* [[Cascading Style Sheets (CSS) at mozilla|https://developer.mozilla.org/en-US/docs/Web/CSS]]
* [[Cascading Style Sheets (CSS) at w3scools|http://www.w3schools.com/css]]

```
[all[shadows+tiddlers]tag[$:/tags/Stylesheet]]
```
<<<
! Overriding Theme Settings

Custom stylesheets are applied independently from theme stylesheets. Therefore, it is often necessary for the css rules in your custom stylesheet to be more specific than those of the theme you want to override. For example, `html body.tc-body` is more specific than `body.tc-body`.

<<.tip "''You should always start with the least specific value that works!''<br><br>">>

! Stylesheet Types

Usually it is best to use the type `text/css` for stylesheets. This treats them as plain stylesheets, and ensures that TiddlyWiki doesn't apply any wiki processing to them.
Usually it is best to use the type `text/css` for stylesheets. This treats them as plain stylesheets, and ensures that ~TiddlyWiki doesn't apply any wiki processing to them.

If you wish to use macros and transclusions in your stylesheets you should instead use the default WikiText type `text/vnd.tiddlywiki`. This allows full WikiText processing to be performed. Here is an example:
If you wish to use macros and transclusions in your stylesheets you should instead use the default WikiText type `text/vnd.tiddlywiki`. This allows full ~WikiText processing to be performed. Here is an example:

```
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html
Expand All @@ -50,7 +55,7 @@ body.tc-body pre {
}
```

The `\rules` pragma at the top of the tiddler restricts the WikiText to just allow macros and transclusion. This avoids mistakenly triggering unwanted WikiText processing.
The `\rules` pragma at the top of the tiddler restricts the ~WikiText to just allow macros and transclusion. This avoids mistakenly triggering unwanted ~WikiText processing.

A stylesheet tiddler is processed such that it is first wikified and then the text portion of the ouput is extracted to apply as the CSS. Any HTML tags you will use in your stylesheet are thus ignored. For example, HTML elements generated by the RevealWidget will not affect the output. As in the following example, you can wrap CSS rules in `<pre>` tags to display them as a codeblock without affecting processing, including handling the inner macro.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
created: 201804111739
modified: 201804111739
title: Q: Is there a way to create dynamic stylesheets?
tags: [[Custom Styles FAQ]]

''Answer:'' <<.from-version "5.1.16">>

Yes, see: [[Q: How can I use a custom field to style a tiddler?]]
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
created: 201804111739
modified: 201804111739
title: Q: How can I use a custom field to style a tiddler?
tags: [[Custom Styles FAQ]]


''Consider the following usecase:'' <<.from-version "5.1.16">>

There is a field named: `rank`, which can hold different values eg: `species`.

''Answer:''

The idea is now: We dynamically create the stylesheet. The style-sheet can look like this:

"""
title: `myStyles`
tags: `$:/tags/Stylesheet`
"""

```
<$list filter="[rank[species]]">
[data-tiddler-title^="<$view field=title/>"] .tc-tiddler-body {
column-count: 2;
}
</$list>
```

This creates a CSS rule for every tiddler-title, that has a field `rank` and value `species`.

[[Learn more about possible attributes!|Attribute Selectors]]
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
created: 201804111739
modified: 201804111739
title: Q: What if a tiddler has no tags?
tags: [[Custom Styles FAQ]]

''Answer:'' <<.from-version "5.1.16">>

* If a tiddler has no tags, but needs styling use: `data-tiddler-title` as CSS selector
** There is only one tiddler

* If a user wants to style system tiddlers in a custom way: use: `[data-tiddler-title^="$:"/]` as a selector
** using the TW namespace functionality

* If the user wants special behaviour for tagged tiddlers. eg: Learning
** use: `[data-tags*="Learning"]` as CSS selector.

The names I'm using are only used for documentation purpose, without changing the existing wiki. I don't want, that the docs has side effects.

[[Learn more about possible attributes!|Attribute Selectors]]
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
created: 201804111739
modified: 201804111739
title: Q: How can I style a tiddler if it has "this" AND "that" tag?
tags: [[Custom Styles FAQ]]

''Answer:'' <<.from-version "5.1.16">>

If tiddler has both: `this` AND tag `that` create an orange border.

```
[data-tags*="bar"][data-tags*="froz"] {
border: 2px solid orange;
}
```

''If your CSS looks like this: ''

```
[data-tags~="this"] {
border: 2px solid blue;
}

[data-tags~="that"] {
border: 2px solid red;
}
```

`this` creates a blue border
`that` creates a red border
If you swap positions, you get it the other way around.


[[Learn more about possible attributes!|Attribute Selectors]]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
created: 201804111739
modified: 201804111739
title: Q: How can I style a tiddler if it has "this" OR "that" tag?
tags: [[Custom Styles FAQ]]

''Answer:'' <<.from-version "5.1.16">>

Either tag `this` or tag `that` create a red border.

```
[data-tags~="this"],
[data-tags~="that"] {
border: 2px solid red;
}
```

[[Learn more about possible attributes!|Attribute Selectors]]
3 changes: 0 additions & 3 deletions editions/tw5.com/tiddlers/images/Firefox Apocalypse.png.meta

This file was deleted.

Binary file modified editions/tw5.com/tiddlers/images/New Release Banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: TiddlyFox Apocalypse.png
type: image/png
tags: picture
4 changes: 2 additions & 2 deletions editions/tw5.com/tiddlers/languages/LanguageGallery.tid
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
created: 20151231083708980
modified: 20151231084132703
tags:
title: LanguageGallery
title: LanguageGallery Example
type: text/vnd.tiddlywiki

Here is an example of using the ListWidget and the TranscludeWidget to show a grid of all language icons (ie, tiddlers tagged [[Language]] and [[Icon]]).
Here is an example of using the ListWidget and the TranscludeWidget to show a grid of all of Language Icons which are tiddlers [[tagged|Tagging]] <<tag Language>>and <<tag Icon>>

<style>
.language-gallery img {
Expand Down
56 changes: 56 additions & 0 deletions editions/tw5.com/tiddlers/learning/Introduction to Lists.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
created: 20171212175130471
modified: 20171212175139631
tags: Learning
title: Introduction to Lists
type: text/vnd.tiddlywiki

Making lists of items plays a central role in working with TiddlyWiki. The following is a brief run-through of some of the more common techniques.

~TiddlyWiki [[uses|The Extended Listops Filters]] lists [[internally|ListField]] for many purposes so the word can have several meanings. Here we are concerned with displaying sequences of items, but not necessarily presented as a conventional bullet list.

! Manually Typed Lists

!! ~WikiText

WikiText lists are manually typed lists that use a special character to specify what sort of list it is and how it should be displayed.

Examples include bullet lists created with asterisks (*) and numbered lists (#). Behind the scenes, ~WikiText lists are based on the standard `<ul>` and `<li>` HTML elements. For more information see [[Lists in WikiText]].

An example of a typed list in WikiText:

<<wikitext-example-without-html """* Greatest Movies of All Time
** Casa Blanca
** Pride and Prejudice and Zombies""">>

! Generated Lists

Lists can be automatically generated with the ListWidget using [[filters|Filters]] in which [[filter operators|Filter Operators]]
specify criteria for selecting which tiddlers are desired as output. Shortcut macros are provided for some common types of list.

!! ~ListWidget

The ListWidget is the most powerful tool for creating lists. It allows the filtered output to be manipulated and styled into forms that may not seem to resemble lists at all, for example tables or complex texts. For more details, see [[ListWidget]].

An example to show all tiddlers tagged with "HelloThere" might look like:

<<wikitext-example-without-html """<$list filter="[tag[HelloThere]]"><$view field="title"/><br/></$list>""">>

<<.tip """Even tiddlers themselves are made with the ~ListWidget. The [[ViewTemplate|$:/core/ui/ViewTemplate]] makes use of the ListWidget to fetch all specified templates that are used to show a tiddlers title, tags, text and more.""">>

!! Filtered transclusion

The syntax for filtered transclusion `{{{...}}}` takes a filter as input and outputs a linked list of matching titles. You can also apply a [[template|Transclusion with Templates]], for example:

<<wikitext-example-without-html """{{{ [tag[HelloThere]] || $:/core/ui/TagTemplate }}}""">>

!! list-links Macro

The [[list-links|list-links Macro]] macro gives a preformatted list, typically a bullet list, in a more simplified way than by using the ListWidget. Behind the scenes it really is the ListWidget applying a default template to each list item.

<$macrocall $name="wikitext-example-without-html" src="""<<list-links "[tag[HelloThere]]">>"""/>

!Other “list related” features

[[list|ListField]], [[list-before|Order of Tagged Tiddlers]] and [[list-after|Order of Tagged Tiddlers]] are all field names to control the position of tiddlers in a list. [[Fields|TiddlerFields]] are a way to add additional bits of structured information to a tiddler such as date, quantity, category, etc.

[[list|list Operator]] and [[listed|listed Operator]] are //filter operators// to, respectively, select and find titles in lists.
2 changes: 1 addition & 1 deletion editions/tw5.com/tiddlers/learning/Learning.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20140912140047779
list: Videos [[Introduction to Filters]] [[Sharing a TiddlyWiki on Dropbox]] [[Sharing your tiddlers with others]] [[Copying tiddlers between TiddlyWiki files]] [[Creating SubStories]] [[Editing Tiddlers with Emacs]] [[ImageGallery Example]] [[Making curved text with SVG]] TaskManagementExample [[Adding a Twitter Follow button]] [[Philosophy of Tiddlers]] [[Adopt a Titles Policy]]
list: Videos [[Introduction to filter notation]] [[Sharing a TiddlyWiki on Dropbox]] [[Sharing your tiddlers with others]] [[Copying tiddlers between TiddlyWiki files]] [[Creating SubStories]] [[Editing Tiddlers with Emacs]] [[ImageGallery Example]] [[Making curved text with SVG]] TaskManagementExample [[Adding a Twitter Follow button]] [[Philosophy of Tiddlers]] [[Adopt a Titles Policy]]
modified: 20140919161721584
tags: TableOfContents
title: Learning
Expand Down
9 changes: 6 additions & 3 deletions editions/tw5.com/tiddlers/macros/ListMacro.tid
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
caption: list-links
created: 20140917083515996
modified: 20150221223214000
title: list-links Macro
modified: 20180109171310659
tags: Macros [[Core Macros]]
caption: list-links
title: list-links Macro
type: text/vnd.tiddlywiki

The <<.def list-links>> [[macro|Macros]] returns a formatted list of links to a [[selection of tiddlers|Title Selection]].

Expand All @@ -18,5 +19,7 @@ If a tiddler has a <<.field caption>> field, this is shown instead of the tiddle
: An HTML element to use for each item in the list, defaulting to `li`
;class
: A [[CSS|Cascading Style Sheets]] class for the overall list element
;emptyMessage
: Optional wikitext to display if there are no tiddlers with the specified tag

<<.macro-examples "list-links">>
4 changes: 3 additions & 1 deletion editions/tw5.com/tiddlers/macros/TabsMacro.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
caption: tabs
created: 20131228162203521
modified: 20171113135543552
modified: 20180408084453861
tags: Macros [[Core Macros]]
title: tabs Macro
type: text/vnd.tiddlywiki
Expand All @@ -25,6 +25,8 @@ By default the tabs are arranged horizontally above the content. To get vertical
: Optionally, the title of a tiddler to use as a [[template|TemplateTiddlers]] for transcluding the content of the selected tab
;buttonTemplate
: Optionally, the title of a tiddler to use as a [[template|TemplateTiddlers]] for transcluding the content of the button for the selected tab
;retain
: Optionally, "yes" specifies that the content of the tabs should be retained when switching to another tab, avoiding re-rendering it (this can be useful to avoid video or audio sources unexpectedly resetting)

Within the template, the title of the selected tab is available in the <<.var currentTab>> variable.

Expand Down
19 changes: 19 additions & 0 deletions editions/tw5.com/tiddlers/macros/copy-to-clipboard Macro.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
caption: copy-to-clipboard
created: 20171216104754967
modified: 20171216104941967
tags: Macros [[Core Macros]]
title: copy-to-clipboard Macro
type: text/vnd.tiddlywiki

The <<.def copy-to-clipboard>> [[macro|Macros]] displays a button that copies specified text to the clipboard. A notification is displayed if the operation is successful; some browsers do not permit the operation.

!! Parameters

;src
: The text to be copied to the clipboard
;class
: Optional CSS classes to be assigned to the button (defaults to `tc-btn-invisible`)
;style
: Optional CSS styles to be assigned to the button

<<.macro-examples "copy-to-clipboard">>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
created: 20171216104946277
modified: 20171216105109641
tags: [[copy-to-clipboard Macro]] [[Macro Examples]]
title: copy-to-clipboard Macro (Examples)
type: text/vnd.tiddlywiki

<$macrocall $name=".example" n="1" eg="""<<copy-to-clipboard "Mary had a little lamb">>"""/>
<$macrocall $name=".example" n="2" eg="""<$macrocall $name="copy-to-clipboard" src={{$:/SiteTitle}}/>"""/>
2 changes: 1 addition & 1 deletion editions/tw5.com/tiddlers/macros/jsontiddler Macro.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
caption: jsontiddlers
caption: jsontiddler
created: 20170317140130417
modified: 20170317140226040
tags: Macros [[Core Macros]]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
caption: list-tagged-draggable
created: 20170329092723939
modified: 20170329093247470
modified: 20180109171254045
tags: Macros [[Core Macros]]
title: list-tagged-draggable Macro
type: text/vnd.tiddlywiki
Expand All @@ -11,8 +11,12 @@ The <<.def list-tagged-draggable>> [[macro|Macros]] renders the tiddlers with a

;tag
: The title of the tag
;subFilter
: An optional subfilter to filter out unwanted items (eg `!tag[done]`)
;itemTemplate
: Optional title of a tiddler to use as the template for rendering list items
;emptyMessage
: Optional wikitext to display if there are no tiddlers with the specified tag

Note that the [[ordering|Order of Tagged Tiddlers]] is accomplished by assigning a new list to the `list` field of the tag tiddler. Any `list-before` or `list-after` fields on any of the other tiddlers carrying the tag are also removed to ensure the `list` field is respected.

Expand Down
2 changes: 2 additions & 0 deletions editions/tw5.com/tiddlers/mechanisms/InfoMechanism.tid
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ System tiddlers in the namespace `$:/info/` are used to expose information about

|!Title |!Description |
|[[$:/info/browser]] |Running in the browser? ("yes" or "no") |
|[[$:/info/browser/screen/width]] |Screen width in pixels |
|[[$:/info/browser/screen/height]] |Screen height in pixels |
|[[$:/info/node]] |Running under [[Node.js]]? ("yes" or "no") |
|[[$:/info/url/full]] |<<.from-version "5.1.14">> Full URL of wiki (eg, ''<<example full>>'') |
|[[$:/info/url/host]] |<<.from-version "5.1.14">> Host portion of URL of wiki (eg, ''<<example host>>'') |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
caption: tm-copy-to-clipboard
created: 20171215150056004
modified: 20171215150600888
tags: Messages
title: WidgetMessage: tm-copy-to-clipboard
type: text/vnd.tiddlywiki

The "copy to clipboard" message attempts to copy the specified text to the clipboard. If it succeeds, the tiddler [[$:/language/Notifications/CopiedToClipboard/Succeeded]] is displayed as a notification. If the browser doesn't permit the operation, the tiddler [[$:/language/Notifications/CopiedToClipboard/Failed]] is displayed instead.

It requires the following properties on the `event` object:

|!Name |!Description |
|param |Text to be copied to the clipboard |

This message is usually generated with the ButtonWidget. It is handled by the TiddlyWiki core.

! Example

This example copies the current time to the clipboard:

<$macrocall $name='wikitext-example-without-html'
src='<$button message="tm-copy-to-clipboard" param=<<now>>>
Copy date to clipboard
</$button>'/>

Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ tags: [[TiddlyWiki on Node.js]]
title: Environment Variables on Node.js
type: text/vnd.tiddlywiki

[[TiddlyWiki on Node.js]] supports the following OS environment variables for specifying a colon-delimited list of paths to search for plugins and editions:
[[TiddlyWiki on Node.js]] supports the following OS environment variables for specifying a delimited list of paths to search for plugins and editions:

* `TIDDLYWIKI_PLUGIN_PATH` - Search path for ordinary plugins
* `TIDDLYWIKI_THEME_PATH` - Search path for themes
* `TIDDLYWIKI_LANGUAGE_PATH` - Search path for languages
* `TIDDLYWIKI_EDITION_PATH` - Search path for editions (used by the InitCommand)

''Note'': The delimiter may vary between operating systems. While on Windows a semicolon `;` is used, Linux implements a colon `:`.

The additional paths should each point to folders structured like the equivalent directories in the TiddlyWiki5 GitHub repository: the plugin, theme and language directories contain `publisher/pluginname/<files>` while the edition directories contain `editionname/<files>`

For example:
Expand All @@ -19,4 +21,3 @@ For example:
TIDDLYWIKI_PLUGIN_PATH=~/MyPluginStore
tiddlywiki mywiki --build index
```

Loading