1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-05 19:53:17 +00:00
TiddlyWiki5/editions/tw2
Jeremy Ruston 623a3ec8f8 Rename "shadow" tiddlers to "system" tiddlers
What we have at the moment isn't really the same as TiddlyWiki
classic's shadow tiddlers, it's a much simpler system for excluding
tiddlers. We'll use the term "shadow" instead to refer to the way that
tiddlers in plugins behave, which is exactly like TiddlyWiki classic's
shadow tiddlers.
2013-03-15 22:00:19 +00:00
..
source Move the editions into a subfolder 2012-11-16 21:20:27 +00:00
target Move the editions into a subfolder 2012-11-16 21:20:27 +00:00
wiki Rename "shadow" tiddlers to "system" tiddlers 2013-03-15 22:00:19 +00:00
readme.md Docs updates 2013-03-02 13:14:56 +00:00
tiddlywiki.info Update TW2 edition 2013-02-09 17:10:18 +00:00

Building classic TiddlyWiki with TiddlyWiki5

TiddlyWiki5 can be used to build older 2.x.x versions of TiddlyWiki from their constituent components. Doing so involves these additional features over and above those used for building TiddlyWiki5:

  • The tiddlywiki2/loadrecipe plugin, containing a deserializer module which allows tiddlers to be loaded from TiddlyWiki 2.x.x .recipe files
  • The tiddlywiki2/stripcomments plugin, containing a new viewer format for the <$view> widget that strips single line JavaScript comments starting //#
  • The stripTitlePrefix='yes' attribute of the <$fields> widget, 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 TiddlyWiki5 under node.js. A typical usage would be:

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