Added by Jim Dibble, last edited by Jim Dibble on Aug 31, 2007

Labels:

confluence confluence Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
Name Outline Plugin
Priority High
Complexity Unknown
Author(s) Jim Dibble
Description Automatically turns heading tags into #.#.# outline format

Description/features

Automatically turns heading tags into 1.3.5 outline format

Usage

User would enclose the page markup in the {outline} macro. The macro would automatically generate #.#.# outline numbers at the beginning of each heading. h1 headings would have "#", h2 headings would have "#.#", h3 headings would have "#.#.#", etc. Each level would start numbering at 1, and incrementing for each heading of the same level within scope. Level number would reset whenever a heading of a higher level appeared in the document (for example, a sequence of h1, h2, h2, h1, h2 would be numbered "1", "1.1", "1.2", "2", "2.1").

In wiki markup, the macro would look like this:

{outline}
h1. Overview
This is an overview of the document.
h1. Assumptions
h2. Technical Assumptions
This should not be too hard to accomplish.
h2. Usage Assumptions
Everyone would be willing to use it.
{outline}

The output would look like this:

1. Overview

This is an overview of the document.

2. Assumptions

2.1 Technical Assumptions

This should not be too hard to accomplish.

2.2 Usage Assumptions

Everyone would be willing to use it.

Technical Implementation

Other Resources