mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-19 18:59:42 +00:00
30d0dec1fa
Smaller simpler styles (including CSS reset from https://github.com/necolas/normalize.css/)
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
title: Getting started with TiddlyWiki under node.js
|
|
modifier: JeremyRuston
|
|
tags: guide
|
|
|
|
TiddlyWiki5 can be used on the command line to perform an extensive set of operations based on tiddlers, TiddlerFiles and TiddlyWikiFiles. For example, this 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
|
|
```
|
|
!!Usage
|
|
|
|
Running `tiddlywiki.js` 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. The commands are identified by the prefix `--`.
|
|
|
|
```
|
|
node tiddlywiki.js [--<command> [<arg>[,<arg>]]]
|
|
```
|
|
|
|
!! Batch Files
|
|
|
|
For trying TiddlyWiki5 out under node.js, two batch files are provided:
|
|
|
|
* `bld.sh` builds the new TiddlyWiki 5 HTML file (placed in the `tmp/tw5/` directory by default)
|
|
|
|
!!Commands
|
|
|
|
The following commands are available:
|
|
|