On Monday, September 22, 2014 11:00:13 PM UTC+2, Anton Jarrod wrote:
>
> That's right, I've seen this tiddler but it doesn't help; I'm having 
> difficulty working out what steps I need to do, because when I paste the 
> code into my contents page, all I get is a blank. There must be more steps 
> to it that this, but I can't work them out. Any suggestions?
>

OK, I see. There are too many tiddlers in tiddylwiki.com so, it hard to 
follow the steps / tags.
I'll record a short video later today.

I'll go with the http://tiddlywiki.com/#TableOfContentsMacro example imo 
its easier to follow
The code:

<div class="tc-table-of-contents">
<<toc "Contents">>
</div>

The <div> is there, just for styling. So just use it.

<<toc "Contents">> is the macro call.

"Contents" is the "root tag"
So if you have a look at the tiddlers: First, Second, Third and Fourth 
<http://tiddlywiki.com/#TableOfContentsMacro:TableOfContentsMacro%20Fourth%20Third%20Second%20First>
 
.. they are all tagged "Contents"

If you have a look at:  FirstOne, FirstTwo, FirstThree 
<http://tiddlywiki.com/#TableOfContentsMacro:TableOfContentsMacro%20FirstOne%20FirstTwo%20FirstThree>
 
... they are all tagged "First"

That's basically it. ... This creates the structure.
So if you want to have a subitem of "FirstOne" eg: "MyNewSubitem" .. just 
tag it "FirstOne"

hope that helps.
mario


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to