Introduce a PageMacros tiddler containing a tabs macro

This is a hacky way of having macro definitions that behave as if they
are global to the wiki.

The new tabs macro itself is cool, though: neatly encapsulates most of
the gubbins around a tab control, and the rendering is quite easy to
style.
This commit is contained in:
Jeremy Ruston
2013-11-04 18:21:20 +00:00
parent e42548997e
commit 63243c5855
5 changed files with 29 additions and 4 deletions

View File

@@ -0,0 +1,8 @@
title: TabsExample
tags: samples
Here is an example of the tabs macro:
<<tabs "Docs WikiText Features RoadMap" "WikiText" 1>>
<<tabs "[tag[tips]]" "GoogleChromeTips" 2>>