Edgewall Software
Modify

Opened 20 years ago

Closed 19 years ago

#1077 closed defect (invalid)

Problem with reStructuredText and title levels

Reported by: dge@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: wiki system Version: 0.8
Severity: normal Keywords: rst restructuredtext titles level
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Here is some WikiRestructuredText :

First level title

Second level title

Third level title

Fourth level title

Have I missed something or title level are not correctly handled [*]. It seems that only 2 levels are available. Is this an intended behaviour ?

[*]It seems also that document divs are wrong.

Attachments (0)

Change History (1)

comment:1 by Matthew Good, 19 years ago

Resolution: invalid
Status: newclosed

The reStructuredText is handled by the docutils library, so Trac can't control how it is processed.

Apparently the outline needs to be a bit more complete to have all the section levels recognized. Here's an example with more levels:

Chapter 1 Title
===============

Section 1.1 Title
-----------------

Subsection 1.1.1 Title
~~~~~~~~~~~~~~~~~~~~~~
content

Section 1.2 Title
-----------------
content

Chapter 2 Title
===============
content

Chapter 1 Title

Section 1.1 Title

Subsection 1.1.1 Title

content

Section 1.2 Title

content

Chapter 2 Title

content

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


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