Opened 15 years ago
Last modified 9 years ago
#8640 new enhancement
Enable headline numbering
Reported by: | 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)
Change History (11)
comment:1 by , 15 years ago
Cc: | added |
---|
comment:2 by , 15 years ago
Milestone: | → 2.0 |
---|
comment:3 by , 15 years ago
Milestone: | 2.0 → unscheduled |
---|
comment:4 by , 14 years ago
Milestone: | triaging → next-major-0.1X |
---|---|
Owner: | set to |
Priority: | normal → high |
Actually an example given in #3307 (WikiPragmas).
comment:5 by , 13 years ago
You can use plain CSS for this, see http://daarchitect.wordpress.com/2008/04/09/numbered-headings-in-css/
comment:6 by , 10 years ago
Cc: | added; removed |
---|
follow-up: 8 comment:7 by , 10 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
.
comment:8 by , 10 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 , 10 years ago
Owner: | removed |
---|
comment:10 by , 9 years ago
Keywords: | patch added |
---|---|
Priority: | high → normal |
Milestone 2.0 deleted