mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-20 08:44:52 +00:00
9547a1f01c
A bunch of little changes that together enable external image support. Try: ``` tiddlywiki editions/tw5.com --verbose --build externalimages ``` Then open `externalimages.html`, look for the images in the more/types tab of the sidebar, open them and verify that they are set with an external SRC attribute, not a data URI.
63 lines
2.1 KiB
Plaintext
63 lines
2.1 KiB
Plaintext
{
|
|
"plugins": [
|
|
"tiddlywiki/cecily",
|
|
"tiddlywiki/fullscreen",
|
|
"tiddlywiki/googleanalytics",
|
|
"tiddlywiki/nodewebkitsaver",
|
|
"tiddlywiki/github-fork-ribbon"
|
|
],
|
|
"themes": [
|
|
"tiddlywiki/vanilla",
|
|
"tiddlywiki/snowwhite",
|
|
"tiddlywiki/nighttime",
|
|
"tiddlywiki/starlight",
|
|
"tiddlywiki/seamless",
|
|
"tiddlywiki/stickytitles",
|
|
"tiddlywiki/centralised",
|
|
"tiddlywiki/readonly"
|
|
],
|
|
"languages": [
|
|
"en-US",
|
|
"en-GB",
|
|
"de-AT",
|
|
"de-DE",
|
|
"fr-FR",
|
|
"zh-Hans",
|
|
"zh-Hant",
|
|
"it-IT",
|
|
"ja-JP"
|
|
],
|
|
"build": {
|
|
"index": [
|
|
"--rendertiddler","$:/core/save/all","index.html","text/plain"],
|
|
"externalimages": [
|
|
"--savetiddlers","[is[image]] [type[text/html]]","images",
|
|
"--setfield","[is[image]] [type[text/html]]","_canonical_uri","$:/core/templates/canonical-uri","text/plain",
|
|
"--setfield","[is[image]]","text","","text/plain",
|
|
"--rendertiddler","$:/core/save/all","externalimages.html","text/plain"],
|
|
"encrypted": [
|
|
"--password", "password",
|
|
"--rendertiddler", "$:/core/save/all", "encrypted.html", "text/plain",
|
|
"--clearpassword"],
|
|
"favicon": [
|
|
"--savetiddler","$:/favicon.ico","favicon.ico",
|
|
"--savetiddler","$:/green_favicon.ico","static/favicon.ico"],
|
|
"readmes": [
|
|
"--rendertiddler","ReadMe","readme.md","text/html",
|
|
"--rendertiddler","ContributingTemplate","contributing.md","text/html",
|
|
"--rendertiddler","$:/core/copyright.txt","licenses/copyright.md","text/plain",
|
|
"--rendertiddler","TiddlyWiki2ReadMe","tw2/readme.md","text/html"],
|
|
"empty": [
|
|
"--rendertiddler","$:/editions/tw5.com/download-empty","empty.html","text/plain",
|
|
"--rendertiddler","$:/editions/tw5.com/download-empty","empty.hta","text/plain"],
|
|
"static": [
|
|
"--rendertiddler","$:/core/templates/static.template.html","static.html","text/plain",
|
|
"--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
|
|
}
|
|
}
|