Does anyone know why TOCs in the wiki display shifted to the right?
Paul Zablosky
Paul.Zablosky at ubc.ca
Thu Jun 5 22:42:48 UTC 2008
Daphne,
I did a few experiments with the {toc} macro. It appears to just
set up a fixed set of tab indents, one for each level of heading
hierarchy. If you give it a range as Anastasia suggests, it just sets
them up for that range. Since your page uses only h2 and h4 headings,
you can make the toc listing look a bit better by reducing the indent
between them, say with {toc:minLevel=2,indent=5px}.
Paul
Anastasia Cheetham wrote:
> On 5-Jun-08, at 11:44 AM, Daphne Ogle wrote:
>
>
>> Here's an example:http://wiki.fluidproject.org/display/fluid/Inline+Edit+Design+Overview
>>
>> I don't see any code that is shifted the 1st level bullets over but it
>> doesn't seem like that would be the default formatting. Any ideas?
>>
>
> Daphne, I tried a change that seems to improve it.
>
> The issues is that the headings that the ToC is generated from are
> actually staring at 2nd level, not first, so they are being indented.
> I set the {toc} macro to start at level 2 ({toc:minLevel=2}). This
> seems to prompt it to treat these 2nd level headings as top level ToC
> elements.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.idrc.ocad.ca/pipermail/fluid-work/attachments/20080605/0fecedcf/attachment.htm>
More information about the fluid-work
mailing list