From 5ddcd5a66686f8cf04735528d55b68ff20e2926c Mon Sep 17 00:00:00 2001 From: Mohammad Rahmani <830394+kookma@users.noreply.github.com> Date: Tue, 29 Oct 2024 14:09:45 +0330 Subject: [PATCH] Replace Deprecated renderTiddler with render command (#8700) --- editions/tw5.com/tiddlers/concepts/ExternalImages.tid | 4 ++-- .../How to build a TiddlyWiki5 from individual tiddlers.tid | 4 ++-- .../tw5.com/tiddlers/nodejs/Using TiddlyWiki on Node.js.tid | 4 ++-- editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/editions/tw5.com/tiddlers/concepts/ExternalImages.tid b/editions/tw5.com/tiddlers/concepts/ExternalImages.tid index 08b008d9c..6fd43bc75 100644 --- a/editions/tw5.com/tiddlers/concepts/ExternalImages.tid +++ b/editions/tw5.com/tiddlers/concepts/ExternalImages.tid @@ -1,5 +1,5 @@ created: 20140610213500000 -modified: 20140912141341933 +modified: 20241025051628969 tags: Concepts Features title: ExternalImages type: text/vnd.tiddlywiki @@ -35,7 +35,7 @@ For an example see the ''externalimages'' build target of the demo ''tw5.com'' w --savetiddlers [is[image]] images --setfield [is[image]] _canonical_uri $:/core/templates/canonical-uri-external-image text/plain --setfield [is[image]] text "" text/plain ---rendertiddler $:/core/save/all externalimages.html text/plain +--render $:/core/save/all externalimages.html text/plain ``` !! Saving Separate Image Files diff --git a/editions/tw5.com/tiddlers/howtos/How to build a TiddlyWiki5 from individual tiddlers.tid b/editions/tw5.com/tiddlers/howtos/How to build a TiddlyWiki5 from individual tiddlers.tid index dafc9e726..cdc8a7455 100644 --- a/editions/tw5.com/tiddlers/howtos/How to build a TiddlyWiki5 from individual tiddlers.tid +++ b/editions/tw5.com/tiddlers/howtos/How to build a TiddlyWiki5 from individual tiddlers.tid @@ -1,5 +1,5 @@ created: 20131124220600000 -modified: 20140912141637389 +modified: 20241025051111864 tags: [[TiddlyWiki on Node.js]] title: How to build a TiddlyWiki5 from individual tiddlers type: text/vnd.tiddlywiki @@ -14,4 +14,4 @@ First install TiddlyWiki as described in [[Installing TiddlyWiki on Node.js]]. ##* Alternatively, just copy the `editions/empty` folder from the TiddlyWiki5 repo # Create individual TiddlerFiles in the `~/MyWiki/tiddlers` directory # Execute the following command from the TiddlyWiki5 root directory to build a TiddlyWiki5 file from the tiddlers: -## `tiddlywiki ~/MyWiki --rendertiddler $:/core/save/all index.html text/plain` +## `tiddlywiki ~/MyWiki --render $:/core/save/all index.html text/plain` diff --git a/editions/tw5.com/tiddlers/nodejs/Using TiddlyWiki on Node.js.tid b/editions/tw5.com/tiddlers/nodejs/Using TiddlyWiki on Node.js.tid index 751b6389e..8c029b41b 100644 --- a/editions/tw5.com/tiddlers/nodejs/Using TiddlyWiki on Node.js.tid +++ b/editions/tw5.com/tiddlers/nodejs/Using TiddlyWiki on Node.js.tid @@ -1,5 +1,5 @@ created: 20131219100520659 -modified: 20220613172345723 +modified: 20241025051303991 tags: [[TiddlyWiki on Node.js]] title: Using TiddlyWiki on Node.js type: text/vnd.tiddlywiki @@ -9,7 +9,7 @@ type: text/vnd.tiddlywiki For example, the following command loads the tiddlers from a ~TiddlyWiki HTML file and then saves one of them in static HTML: ``` -tiddlywiki --verbose --load mywiki.html --rendertiddler ReadMe ./readme.html +tiddlywiki --verbose --load mywiki.html --render ReadMe ./readme.html ``` Running `tiddlywiki` from the command line boots the ~TiddlyWiki kernel, loads the core plugins and establishes an empty wiki store. It then sequentially processes the command line arguments from left to right. The arguments are separated with spaces. diff --git a/editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid b/editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid index dddcd3106..1f49db5dc 100644 --- a/editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid +++ b/editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid @@ -1,5 +1,5 @@ created: 20161015114042793 -modified: 20211114101249016 +modified: 20241025051517343 tags: TiddlyWikiFolders [[TiddlyWiki on Node.js]] title: tiddlywiki.info Files type: text/vnd.tiddlywiki @@ -47,7 +47,7 @@ For example: ], "build": { "index": [ - "--rendertiddler","$:/core/save/all","index.html","text/plain"], + "--render","$:/core/save/all","index.html","text/plain"], "favicon": [ "--savetiddler","$:/favicon.ico","favicon.ico", "--savetiddler","$:/green_favicon.ico","static/favicon.ico"]