From 559afcffd9ef1fdfd8d1f76766fe83cf5a94621a Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sun, 31 Aug 2014 14:05:43 +0100 Subject: [PATCH 1/6] Add classes to the toc macro output --- core/wiki/macros/toc.tid | 6 +++--- editions/tw5.com/tiddlers/macros/TableOfContentsMacro.tid | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/core/wiki/macros/toc.tid b/core/wiki/macros/toc.tid index 60c6d73f6..c4ed79eef 100644 --- a/core/wiki/macros/toc.tid +++ b/core/wiki/macros/toc.tid @@ -2,7 +2,7 @@ title: $:/core/macros/toc tags: $:/tags/Macro \define toc(tag,sort:"") -
    +
      <$list filter="[tag[$tag$]$sort$]">
    1. <$link> @@ -42,7 +42,7 @@ tags: $:/tags/Macro \end \define toc-expandable(tag,sort:"") -
        +
          <$list filter="[tag[$tag$]$sort$]"> <> @@ -77,7 +77,7 @@ tags: $:/tags/Macro \end \define toc-selective-expandable(tag,sort:"") -
            +
              <$list filter="[tag[$tag$]$sort$]"> <> diff --git a/editions/tw5.com/tiddlers/macros/TableOfContentsMacro.tid b/editions/tw5.com/tiddlers/macros/TableOfContentsMacro.tid index e31760db1..169cb8ec3 100644 --- a/editions/tw5.com/tiddlers/macros/TableOfContentsMacro.tid +++ b/editions/tw5.com/tiddlers/macros/TableOfContentsMacro.tid @@ -12,6 +12,8 @@ There are several variants of the macro: * `<>` produces an expandable tree of links * `<>` produces an expandable tree of links where the expand/contract buttons are only shown for entries that possess child nodes +The macros all generate HTML ordered lists. The `
                ` elements are given the class `tc-toc`, with the expandable variant also having the class `tc-toc-expandable` and the selective expandable variant also having the class `tc-toc-selective-expandable`. + ! Parameters |!Position |!Name |!Description |!Default | From d2fd85eb1257599e41728c08bcf2a439da1e0dea Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sun, 31 Aug 2014 14:37:37 +0100 Subject: [PATCH 2/6] Missed class "body" conversion to "tc-tiddler-body" --- core/ui/ViewTemplate/body.tid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ui/ViewTemplate/body.tid b/core/ui/ViewTemplate/body.tid index c983fd965..c0cd21e50 100644 --- a/core/ui/ViewTemplate/body.tid +++ b/core/ui/ViewTemplate/body.tid @@ -1,7 +1,7 @@ title: $:/core/ui/ViewTemplate/body tags: $:/tags/ViewTemplate -
                +
                <$list filter="[all[current]!has[plugin-type]]"> From 0e5d70f8ba8071fa3fc563386087f28443ac47a9 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sun, 31 Aug 2014 14:43:14 +0100 Subject: [PATCH 3/6] Add @pmario's video tutorials --- .../dev/Working with the TiddlyWiki5 repository.tid | 6 ++++++ .../tiddlers/howtos/Improving TiddlyWiki Documentation.tid | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/editions/tw5.com/tiddlers/dev/Working with the TiddlyWiki5 repository.tid b/editions/tw5.com/tiddlers/dev/Working with the TiddlyWiki5 repository.tid index 535cb2575..7a3866248 100644 --- a/editions/tw5.com/tiddlers/dev/Working with the TiddlyWiki5 repository.tid +++ b/editions/tw5.com/tiddlers/dev/Working with the TiddlyWiki5 repository.tid @@ -4,6 +4,12 @@ tags: dev howto title: Working with the TiddlyWiki5 repository type: text/vnd.tiddlywiki +! Introduction + +Mario Pietsch has created a short video tutorial on working with the TiddlyWiki5 ~GitHub repository. + + + ! Setting Up If you plan on working with the TiddlyWiki5 source code then follow these steps: diff --git a/editions/tw5.com/tiddlers/howtos/Improving TiddlyWiki Documentation.tid b/editions/tw5.com/tiddlers/howtos/Improving TiddlyWiki Documentation.tid index c316b8a09..89976fb22 100644 --- a/editions/tw5.com/tiddlers/howtos/Improving TiddlyWiki Documentation.tid +++ b/editions/tw5.com/tiddlers/howtos/Improving TiddlyWiki Documentation.tid @@ -19,4 +19,6 @@ Anyone can submit improvements to the TiddlyWiki documentation that appears on h [[Jermolene|https://github.com/Jermolene]] or one of the other core developers will then have the opportunity to merge your pull request so that it is incorporated into the next build of http://tiddlywiki.com. -There will be a short video soon! +Mario Pietsch has created this short video tutorial: + + From f9a8ba46be94f3450f481df6fcb4989059f21c8a Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sun, 31 Aug 2014 14:43:20 +0100 Subject: [PATCH 4/6] Fix OXTWIG video --- editions/tw5.com/tiddlers/howtos/Video Tutorials.tid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editions/tw5.com/tiddlers/howtos/Video Tutorials.tid b/editions/tw5.com/tiddlers/howtos/Video Tutorials.tid index 74d13396b..6ed1ef675 100644 --- a/editions/tw5.com/tiddlers/howtos/Video Tutorials.tid +++ b/editions/tw5.com/tiddlers/howtos/Video Tutorials.tid @@ -22,4 +22,4 @@ The aim is to curate a series of videos to guide people through getting up and r This video of the second [[OXTWIG]] meeting starts with a tutorial overview demonstrating how to use ~TiddlyWiki in different scenarios: - + From 94538394d417b12c81270cb19408f8d9d4ac63b8 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sun, 31 Aug 2014 14:44:04 +0100 Subject: [PATCH 5/6] Improve embed and iframe styling These styles are intended for viewing PDF tiddlers directly --- themes/tiddlywiki/vanilla/base.tid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index fae5fda62..9d4b35c3e 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -129,8 +129,8 @@ table tfoot tr td { max-width: 100%; } -.tc-tiddler-frame embed, -.tc-tiddler-frame iframe { +.tc-tiddler-body > embed, +.tc-tiddler-body > iframe { width: 100%; height: 600px; } From 522d945275f92b5e1c829326b71fb0c60e64ee81 Mon Sep 17 00:00:00 2001 From: gernert Date: Sun, 31 Aug 2014 15:52:46 +0200 Subject: [PATCH 6/6] Update PluginMechanism.tid Without a name field the entry in the minithemeswitcher will be blank. --- editions/tw5.com/tiddlers/mechanisms/PluginMechanism.tid | 1 + 1 file changed, 1 insertion(+) diff --git a/editions/tw5.com/tiddlers/mechanisms/PluginMechanism.tid b/editions/tw5.com/tiddlers/mechanisms/PluginMechanism.tid index d271885e8..5d41cedc1 100644 --- a/editions/tw5.com/tiddlers/mechanisms/PluginMechanism.tid +++ b/editions/tw5.com/tiddlers/mechanisms/PluginMechanism.tid @@ -33,6 +33,7 @@ Plugins are stored as tiddlers with the following fields: |plugin-type |Can be ''plugin'' (default) or ''theme'' | |text |JSON encoding of the list of tiddlers comprising the plugin | |list |Names of exposed plugin information tiddlers (see below) | +|name |Name of the theme (only for themes) | |dependents |List of dependent plugins (currently only implemented for themes) | ! Plugin folders