Does anyone know why TOCs in the wiki display shifted to the right?
Daphne Ogle
daphne at media.berkeley.edu
Fri Jun 6 18:20:03 UTC 2008
Great, thanks Paul!
Allison, Jess and I were chatting yesterday about the minimal
distinction between headings in our current wiki look -- which is the
reason I've skipped a heading in the page. I wonder if a better
solution would be to change the format of headings? Is this even
possible?
-Daphne
On Jun 5, 2008, at 3:42 PM, Paul Zablosky wrote:
> 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.
>>
>>
>>
>
Daphne Ogle
Senior Interaction Designer
University of California, Berkeley
Educational Technology Services
daphne at media.berkeley.edu
cell (510)847-0308
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.idrc.ocad.ca/pipermail/fluid-work/attachments/20080606/81bd82e2/attachment.htm>
More information about the fluid-work
mailing list