Enable the internals plugin by default in docs (#4335)

* Enable the internals plugin by default in docs

1. Why hide such a useful thing from the users?

2. When playing around with code examples from the docs they may want to know how the resulting html looks.

* Improve doc

* Typo

Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
This commit is contained in:
Nils-Hero Lindemann 2020-04-07 21:41:00 +02:00 committed by GitHub
parent 322c37d693
commit de5bb823fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 51 additions and 26 deletions

View File

@ -3,7 +3,8 @@
"plugins": [
"tiddlywiki/tiddlyweb",
"tiddlywiki/filesystem",
"tiddlywiki/highlight"
"tiddlywiki/highlight",
"tiddlywiki/internals"
],
"themes": [
"tiddlywiki/vanilla",

View File

@ -9,7 +9,8 @@
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly"
"tiddlywiki/readonly",
"tiddlywiki/internals"
],
"languages": [
"en-GB",
@ -30,4 +31,4 @@
"--rendertiddlers","[!is[system]]","$:/core/templates/static.tiddler.html","static","text/plain",
"--rendertiddler","$:/core/templates/static.template.css","static/static.css","text/plain"]
}
}
}

View File

@ -9,7 +9,8 @@
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly"
"tiddlywiki/readonly",
"tiddlywiki/internals"
],
"languages": [
"en-GB",
@ -33,4 +34,4 @@
"--rendertiddlers","[!is[system]]","$:/core/templates/static.tiddler.html","static","text/plain",
"--rendertiddler","$:/core/templates/static.template.css","static/static.css","text/plain"]
}
}
}

View File

@ -3,7 +3,8 @@
"plugins": [
"tiddlywiki/highlight",
"tiddlywiki/nodewebkitsaver",
"tiddlywiki/github-fork-ribbon"
"tiddlywiki/github-fork-ribbon",
"tiddlywiki/internals"
],
"themes": [
"tiddlywiki/vanilla",

View File

@ -3,7 +3,8 @@
"plugins": [
"tiddlywiki/tiddlyweb",
"tiddlywiki/filesystem",
"tiddlywiki/highlight"
"tiddlywiki/highlight",
"tiddlywiki/internals"
],
"themes": [
"tiddlywiki/vanilla",

View File

@ -9,7 +9,8 @@
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly"
"tiddlywiki/readonly",
"tiddlywiki/internals"
],
"languages": [
"es-ES"
@ -40,4 +41,4 @@
"config": {
"retain-original-tiddler-path": true
}
}
}

View File

@ -3,7 +3,8 @@
"plugins": [
"tiddlywiki/tiddlyweb",
"tiddlywiki/filesystem",
"tiddlywiki/highlight"
"tiddlywiki/highlight",
"tiddlywiki/internals"
],
"themes": [
"tiddlywiki/vanilla",

View File

@ -9,7 +9,8 @@
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly"
"tiddlywiki/readonly",
"tiddlywiki/internals"
],
"languages": [
"fr-FR"
@ -40,4 +41,4 @@
"config": {
"retain-original-tiddler-path": true
}
}
}

View File

@ -9,7 +9,8 @@
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly"
"tiddlywiki/readonly",
"tiddlywiki/internals"
],
"languages": [
"ja-JP"
@ -40,4 +41,4 @@
"config": {
"retain-original-tiddler-path": true
}
}
}

View File

@ -3,7 +3,8 @@
"plugins": [
"tiddlywiki/tiddlyweb",
"tiddlywiki/filesystem",
"tiddlywiki/highlight"
"tiddlywiki/highlight",
"tiddlywiki/internals"
],
"themes": [
"tiddlywiki/vanilla",

View File

@ -9,7 +9,8 @@
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly"
"tiddlywiki/readonly",
"tiddlywiki/internals"
],
"languages": [
"ko-KR"
@ -40,4 +41,4 @@
"config": {
"retain-original-tiddler-path": true
}
}
}

View File

@ -1,7 +1,8 @@
{
"description": "Documentation from tw5.com edition",
"plugins": [
"tiddlywiki/tw5.com-docs"
"tiddlywiki/tw5.com-docs",
"tiddlywiki/internals"
],
"themes": [
"tiddlywiki/vanilla",

View File

@ -4,7 +4,8 @@
"tiddlywiki/tiddlyweb",
"tiddlywiki/filesystem",
"tiddlywiki/highlight",
"tiddlywiki/mobiledragdrop"
"tiddlywiki/mobiledragdrop",
"tiddlywiki/internals"
],
"themes": [
"tiddlywiki/vanilla",

View File

@ -3,4 +3,12 @@ modified: 20160817104802841
tags: [[Editor toolbar]]
title: Text preview
Pressing the eye icon {{$:/core/ui/EditorToolbar/preview}} will open or close a preview window (and the eye) of the text you are editing.
Pressing the eye icon {{$:/core/ui/EditorToolbar/preview}} will open or close a preview window for your WikiText (The icon-eye will also open or close).
Right to the eye there is another icon, {{$:/core/images/chevron-down}}, which when clicked, shows you a dropdown which gives you access to six different types of preview:
* //output// shows you the text as you see it when you do not edit the tiddler.
* //html// shows you the [[source code|https://www.w3schools.com/html/html_intro.asp]] of that output. Your web browser uses this source code to display webpages.
* //parsetree// and //widgettree// show you the two object trees that ~TiddlyWiki internally generates from ~WikiText. The //parsetree// collects basic information about your ~WikiText. From the informations of the parsetree the //widgettree// then generates extended informations and finally the above html (and the widgettree also does other things).
* //differences from current// shows you the differences since the tiddler was last saved. Deleted parts are <span style="color:red;">red</span>, added parts are <span style="color:green;">green</span>.
* //differences from shadow (if any)// does the same, but this time it shows you the differences to the underlying [[shadow-tiddler|ShadowTiddlers]].

View File

@ -5,6 +5,7 @@
"tiddlywiki/browser-sniff",
"tiddlywiki/railroad",
"tiddlywiki/evernote",
"tiddlywiki/internals"
"tiddlywiki/menubar"
],
"themes": [

View File

@ -1,7 +1,8 @@
{
"description": "Demo of Tank integration",
"plugins": [
"tiddlywiki/tiddlyweb"
"tiddlywiki/tiddlyweb",
"tiddlywiki/internals"
],
"themes": [
"tiddlywiki/vanilla",
@ -11,4 +12,4 @@
"index": [
"--rendertiddler","$:/core/save/all","tw5tank.html","text/plain"]
}
}
}

View File

@ -9,7 +9,8 @@
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly"
"tiddlywiki/readonly",
"tiddlywiki/internals"
],
"languages": [
"zh-Hans"
@ -40,4 +41,4 @@
"config": {
"retain-original-tiddler-path": true
}
}
}

View File

@ -9,7 +9,8 @@
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly"
"tiddlywiki/readonly",
"tiddlywiki/internals"
],
"languages": [
"zh-Hant"
@ -40,4 +41,4 @@
"config": {
"retain-original-tiddler-path": true
}
}
}