diff --git a/2bld.sh b/2bld.sh index f5df9695c..305c0944d 100755 --- a/2bld.sh +++ b/2bld.sh @@ -6,7 +6,18 @@ mkdir -p tmp mkdir -p tmp/tw2 -# cook TiddlyWiki5 +# Prepare the readme file from the revelant content in the tw5.com content + +pushd editions/tw5.com > /dev/null + +node ../../tiddlywiki.js \ + --verbose \ + --savetiddler TiddlyWiki2ReadMe ../tw2/readme.md text/html \ + || exit 1 + +popd > /dev/null + +# cook the TiddlyWiki 2.x.x index file pushd editions/tw2 > /dev/null diff --git a/editions/tw2/readme.md b/editions/tw2/readme.md new file mode 100644 index 000000000..5ab008ea3 --- /dev/null +++ b/editions/tw2/readme.md @@ -0,0 +1 @@ +

Using TiddlyWiki5 to build TiddlyWikiClassic

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:

\ No newline at end of file diff --git a/editions/tw5.com/tiddlers/guides/TiddlyWiki2ReadMe.tid b/editions/tw5.com/tiddlers/guides/TiddlyWiki2ReadMe.tid new file mode 100644 index 000000000..aef8aeeda --- /dev/null +++ b/editions/tw5.com/tiddlers/guides/TiddlyWiki2ReadMe.tid @@ -0,0 +1,10 @@ +title: TiddlyWiki2ReadMe + +! Using TiddlyWiki5 to build TiddlyWikiClassic + +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, which allows tiddlers to be loaded from TiddlyWiki 2.x.x `.recipe` files +* The `tiddlywiki2/stripcomments` plugin, which adds a new viewer format for the `<$view>` macro 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 +