Edgewall Software
Modify

Opened 12 years ago

Last modified 5 years ago

#8640 new enhancement

Enable headline numbering

Reported by: Sebastian Krysmanski <sebastian@…> Owned by:
Priority: normal Milestone: next-major-releases
Component: wiki system Version: 0.11.5
Severity: normal Keywords: patch
Cc: Ryan J Ollos Branch:
Release Notes:
API Changes:
Internal Changes:

Description

For larger wiki pages with a lot sections it's often difficult to differentiate the sections "level" (i.e. h1 - h6). It would be helpful if headline numbering could be enabled, e.g.:

1. First <H2> headline

1.1. First <H3> headline

1.2. Second <H3> headline

2. Second <H2> headline

2.1. First <H3> headline

2.1.1. First <H4> headline

2.2. Second<H3> headline

3. Third <H2> headline

This could be implemented as a user preference so that each user could decide whether he/she wants headline numbering or not. Also note that <h1> headlines (i.e. =) should not be numbered as they most likely only appear once on each page.

Attachments (1)

patch.8640 (1.7 KB ) - added by Carsten Klein <trancesilken@…> 6 years ago.
Proposal for fixing this issue using CSS

Download all attachments as: .zip

Change History (11)

comment:1 by Ryan Ollos <ryano@…>, 12 years ago

Cc: ryano@… added

comment:2 by Christian Boos, 12 years ago

Milestone: 2.0

comment:3 by Christian Boos, 11 years ago

Milestone: 2.0unscheduled

Milestone 2.0 deleted

comment:4 by Christian Boos, 11 years ago

Milestone: triagingnext-major-0.1X
Owner: set to Christian Boos
Priority: normalhigh

Actually an example given in #3307 (WikiPragmas).

comment:5 by Carsten Klein <carsten.klein@…>, 10 years ago

comment:6 by Ryan J Ollos, 7 years ago

Cc: Ryan J Ollos added; ryano@… removed

by Carsten Klein <trancesilken@…>, 6 years ago

Attachment: patch.8640 added

Proposal for fixing this issue using CSS

comment:7 by Ryan J Ollos, 6 years ago

I think we probably want a way to conditionally enable this, as suggested in comment:4. Also, we probably don't want another stylesheet, but to instead include the styling in wiki.css.

in reply to:  7 comment:8 by Carsten Klein <trancesilken@…>, 6 years ago

Replying to rjollos:

Sure, just wanted to get you have a look at this before I begin merging it into the main stylesheet. As for making this optional, I will have a look into this.

comment:9 by Ryan J Ollos, 6 years ago

Owner: Christian Boos removed

comment:10 by figaro, 5 years ago

Keywords: patch added
Priority: highnormal

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.