TiddlyWiki5/editions/tw2
Jermolene 327403b3c9 Docs update 2014-02-23 19:28:05 +00:00
..
source Move the editions into a subfolder 2012-11-16 21:20:27 +00:00
target Cleaning up the TW2 edition 2013-10-25 12:46:46 +01:00
readme.md Docs update 2014-02-23 19:28:05 +00:00
tiddlywiki.info Merge tw2 related plugins and templates 2013-08-04 22:06:36 +01:00

readme.md

Building TiddlyWikiClassic

TiddlyWiki5 can be used to build older 2.x.x versions of TiddlyWikiClassic from their constituent components. Doing so involves these features:

  • The tiddlywiki/classictools plugin, containing a deserializer module which allows tiddlers to be loaded from TiddlyWiki 2.x.x .recipe files
  • The stripcomments format for the ViewWidget, which strips single line JavaScript comments starting //#
  • The stripTitlePrefix='yes' attribute of the FieldsWidget, which removes prefixes wrapped in curly braces from the title attribute
    • For example, {tiddler}HelloThere would be transformed to HelloThere

Usage

TiddlyWikiClassic is built from the command line by running TiddlyWiki on Node.js. A typical usage would be:

node ../../tiddlywiki.js \
	--verbose \
	--load <path_to_recipe_file> \
	--rendertiddler $:/core/templates/tiddlywiki2.template.html <path_to_write_index_file> text/plain \
	|| exit 1