Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Deprecated renderTiddler with render command #8700

Open
wants to merge 1 commit into
base: tiddlywiki-com
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions editions/tw5.com/tiddlers/concepts/ExternalImages.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20140610213500000
modified: 20140912141341933
modified: 20241025051628969
tags: Concepts Features
title: ExternalImages
type: text/vnd.tiddlywiki
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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`
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20161015114042793
modified: 20211114101249016
modified: 20241025051517343
tags: TiddlyWikiFolders [[TiddlyWiki on Node.js]]
title: tiddlywiki.info Files
type: text/vnd.tiddlywiki
Expand Down Expand Up @@ -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"]
Expand Down
Loading