Jermolene
ba3f800235
Extend toc macro so that links can be disabled
...
This allows table of contents to contain heading entries that do not
function as links, like the one in the sidebar.
2014-09-05 09:49:10 +01:00
Jermolene
44228ed9f7
Fix indentation of selective expandable TOC
...
Fixing #768
2014-09-01 21:27:28 +01:00
Jermolene
559afcffd9
Add classes to the toc macro output
2014-08-31 14:05:43 +01:00
Jermolene
f223310d34
Yet more "tw-*" -> "tc-*"
...
Part of #764
2014-08-28 19:41:29 +01:00
Jermolene
d0cbd34bf9
Rename "btn-invisible" class to "tc-btn-invisible"
...
Part of #764
2014-08-28 17:28:32 +01:00
Jermolene
d2a5a12f2d
Extend TOC macros to use caption field
...
Now the `caption` field is used for the text of each entry, if present,
falling back to the `title` field.
2014-08-28 08:58:53 +01:00
Jermolene
8041e3bef2
Add a sort parameter to the TOC macro
...
As requested by @giffmex
2014-08-20 22:48:07 +01:00
Jermolene
58730b7452
Add selective expandable table of contents macro
...
And improve the layout of the examples
2014-08-19 12:30:22 +01:00
Jermolene
8cf726275c
First pass at table of contents macros
...
Introduce macros for automatically generating table of contents
2014-08-18 20:52:36 +01:00
Jermolene
727638c12d
Clean up CSS macros
...
Move the CSS macros into global macros, and allow the colour macro to
fallback to the vanilla palette if the required colour isn’t found in
the current palette.
2014-08-18 10:14:19 +01:00
Jermolene
0f78c4afbf
Fix problem with tabs macro changing current tiddler
...
The problem was introduced in e18d8a8866
2014-07-12 09:07:51 +01:00
Jermolene
e18d8a8866
Extend the tabs macro to allow tab contents to be templated
2014-07-02 12:15:52 +01:00
Jermolene
fb5c44a875
Remove indenting
...
It didn’t work very well, and was giving us spans where there should be
divs in the tab control.
2014-06-21 11:16:35 +01:00
Jermolene
eeedcb6d94
First pass at accessibility improvements for #650
2014-06-14 18:06:56 +01:00
Jermolene
9ab0c84140
Support global macros via the importvariables widget
...
The new importvariables widget imports macro/variable definitions from
the specified tiddlers and makes them available to its children.
Allows us to split PageMacros up into separate tiddlers.
We still support loading macros from $:/core/ui/PageMacros to help
people upgrading.
Fixes #644 and #559
2014-06-12 18:01:33 +01:00