mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +00:00
Replace Deprecated renderTiddler with render command (#8700)
This commit is contained in:
parent
b6c8045739
commit
5ddcd5a666
@ -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
|
||||
|
@ -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`
|
||||
|
@ -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.
|
||||
|
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user