Project

General

Profile

Actions

Patch #1857

open

Make {{toc}} render as properly nested list + skip support

Added by Jim Jones about 16 years ago. Updated about 14 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2008-09-04
Due date:
% Done:

50%

Estimated time:

Description

The attached patch changes the {{toc}}-macro to render as a properly nested HTML unordered list.
Furthermore it adds a parameter to skip the first n headlines, because at least the first one is usually not interesting:

Example: {{toc:1}} skips the first headline. {{toc:3}} skips the first three headlines.

The patch also removes the (now superflous) css indentation rules for the <li> elements.


Files

redmine_wiki_toc.patch (2.07 KB) redmine_wiki_toc.patch Jim Jones, 2008-09-04 16:34
Actions

Also available in: Atom PDF