kopia lustrzana https://github.com/miklobit/TiddlyWiki5
|
|
||
|---|---|---|
| .. | ||
| source | ||
| target | ||
| readme.md | ||
| tiddlywiki.info | ||
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/classictoolsplugin, containing a deserializer module which allows tiddlers to be loaded from TiddlyWiki 2.x.x.recipefiles - The
stripcommentsformat 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 thetitleattribute- For example,
{tiddler}HelloTherewould be transformed toHelloThere
- For example,
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