mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-14 22:04:51 +00:00
Replace Deprecated SaveTiddler(s) with Save Command (#8710)
This commit is contained in:
parent
87d9e59e03
commit
201b695d96
@ -1,5 +1,5 @@
|
||||
created: 20140610213500000
|
||||
modified: 20241025051628969
|
||||
modified: 20241030132047048
|
||||
tags: Concepts Features
|
||||
title: ExternalImages
|
||||
type: text/vnd.tiddlywiki
|
||||
@ -32,7 +32,7 @@ Note the image files must be saved before they are externalised. Externalising t
|
||||
For an example see the ''externalimages'' build target of the demo ''tw5.com'' wiki:
|
||||
|
||||
```
|
||||
--savetiddlers [is[image]] images
|
||||
--save [is[image]] images
|
||||
--setfield [is[image]] _canonical_uri $:/core/templates/canonical-uri-external-image text/plain
|
||||
--setfield [is[image]] text "" text/plain
|
||||
--render $:/core/save/all externalimages.html text/plain
|
||||
@ -40,10 +40,10 @@ For an example see the ''externalimages'' build target of the demo ''tw5.com'' w
|
||||
|
||||
!! Saving Separate Image Files
|
||||
|
||||
The following `--savetiddlers` command can be used to save the images of a wiki into an ''images'' subfolder:
|
||||
The following `--save` command (see [[SaveCommand]]) can be used to save the images of a wiki into an ''images'' subfolder:
|
||||
|
||||
```
|
||||
--savetiddlers [is[image]] images
|
||||
--save [is[image]] images
|
||||
```
|
||||
|
||||
!! Externalising Image Tiddlers
|
||||
|
@ -1,5 +1,5 @@
|
||||
created: 20161015114042793
|
||||
modified: 20241025051517343
|
||||
modified: 20241030132156792
|
||||
tags: TiddlyWikiFolders [[TiddlyWiki on Node.js]]
|
||||
title: tiddlywiki.info Files
|
||||
type: text/vnd.tiddlywiki
|
||||
@ -49,8 +49,8 @@ For example:
|
||||
"index": [
|
||||
"--render","$:/core/save/all","index.html","text/plain"],
|
||||
"favicon": [
|
||||
"--savetiddler","$:/favicon.ico","favicon.ico",
|
||||
"--savetiddler","$:/green_favicon.ico","static/favicon.ico"]
|
||||
"--save", "$:/favicon.ico", "favicon.ico",
|
||||
"--save", "$:/green_favicon.ico", "static/favicon.ico"]
|
||||
},
|
||||
"config": {
|
||||
"retain-original-tiddler-path": true
|
||||
|
Loading…
Reference in New Issue
Block a user