1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-13 17:16:48 +00:00

Fix up references to savetiddler/savetiddlers command

Fixes #122
This commit is contained in:
Jeremy Ruston 2013-08-07 16:03:26 +01:00
parent 85007cb1e1
commit 492e9b0426
6 changed files with 9 additions and 9 deletions

View File

@ -16,7 +16,7 @@ TiddlyWikiClassic is built from the command line by running TiddlyWiki5 under no
node ../../tiddlywiki.js \
--verbose \
--load <path_to_recipe_file> \
--savetiddler $:/core/templates/tiddlywiki2.template.html <path_to_write_index_file> text/plain \
--rendertiddler $:/core/templates/tiddlywiki2.template.html <path_to_write_index_file> text/plain \
|| exit 1
```

View File

@ -6,7 +6,7 @@ tags: docs edition
TiddlyWiki5 can be used on the command line to perform an extensive set of operations based on tiddlers, TiddlyWikiFolders, TiddlerFiles and TiddlyWikiFiles. For example, the following command loads the tiddlers from a TiddlyWiki HTML file and then saves one of them in HTML:
```
node tiddlywiki.js --verbose --load mywiki.html --savetiddler ReadMe ./readme.html
node tiddlywiki.js --verbose --load mywiki.html --rendertiddler ReadMe ./readme.html
```
In order to use TiddlyWiki5 on the command line you must first install node.js from http://nodejs.org/

View File

@ -10,8 +10,8 @@ You can explore a static representation of the TiddlyWiki5 site at <a href="stat
The included `bld.sh` script includes these commands that are involved in generating the sample static version of the TiddlyWiki5 site:
```
--savetiddler $:/core/templates/static.template.html $TW5_BUILD_OUTPUT/static.html text/plain \
--savetiddler $:/core/templates/static.template.css $TW5_BUILD_OUTPUT/static/static.css text/plain \
--savetiddlers [!is[system]] $:/core/templates/static.tiddler.html $TW5_BUILD_OUTPUT/static text/plain \
--rendertiddler $:/core/templates/static.template.html $TW5_BUILD_OUTPUT/static.html text/plain \
--rendertiddler $:/core/templates/static.template.css $TW5_BUILD_OUTPUT/static/static.css text/plain \
--rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html $TW5_BUILD_OUTPUT/static text/plain \
```
The first SaveTiddlerCommand saves the static version of the DefaulTiddlers, the second saves the stylesheet, and the final SaveTiddlersCommand generates the HTML representations of individual tiddlers.
The first RenderTiddlerCommand saves the static version of the DefaulTiddlers, the second saves the stylesheet, and the final RenderTiddlersCommand generates the HTML representations of individual tiddlers.

View File

@ -8,4 +8,4 @@ tags: docs howto
##* Alternatively, just copy the `editions/empty` folder from the TiddlyWiki5 repo
# Create individual tiddler files in the `~/MyWiki/tiddlers` directory
# Execute the following command from the TiddlyWiki5 root directory to build a TiddlyWiki5 file from the tiddlers:
## `node ./tiddlywiki.js ~/MyWiki --savetiddler $:/core/templates/tiddlywiki5.template.html index.html text/plain`
## `node ./tiddlywiki.js ~/MyWiki --rendertiddler $:/core/templates/tiddlywiki5.template.html index.html text/plain`

View File

@ -11,7 +11,7 @@ When displaying the contents of a folder GitHub will look for a `readme.md` file
This is done in `bld.sh` by this command:
```
--savetiddler ReadMe ./readme.md text/html
--rendertiddler ReadMe ./readme.md text/html
```
It saves the tiddler ReadMe to the file `./readme.md` in the `text/html` format.

View File

@ -28,7 +28,7 @@ To generate a wiki containing the browser tests load up the `test` wiki and save
node ./tiddlywiki.js \
./editions/test \
--verbose \
--savetiddler $:/core/templates/tiddlywiki5.template.html $TW5_BUILD_OUTPUT/test.html text/plain \
--rendertiddler $:/core/templates/tiddlywiki5.template.html $TW5_BUILD_OUTPUT/test.html text/plain \
```
Then, open the `test.html` file in the browser to see the test results. There is a prebuilt version of `test.html` at: