Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

Last modified 18 years ago

#499 closed enhancement (wontfix)

feature request for wiki formatting: applying headings to automatic numbering lists

Reported by: dju` Owned by: Jonas Borgström
Priority: normal Milestone:
Component: wiki system Version: 0.7
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

i would enjoy having a wiki macro or a wiki extension language that would apply the corresponding heading to a list item's depth. for example:

 2. item 1
   2. item 1.1
   2. item 1.2
     2. item 1.2.1
     2. item 1.2.2
 2. item 2
 2. item 3

would result in:

  1. item 1
    1. item 1.1
    2. item 1.2
      1. item 1.2.1
      2. item 1.2.2

  2. item 2
  3. item 3

it would be a great enhancement for wiki editing, especially for copy/paste of paragraphs that would otherwise need re-numbering and rewriting headings.

Attachments (0)

Change History (2)

comment:1 by daniel, 20 years ago

Resolution: wontfix
Status: newclosed

Using WikiRestructuredText, you can get automatically numbered headings (and table of contents as well).

See TracFaq for an example of just that.

This is a better way to achieve what you wish to accomplish.

I don't think treating all lists as headings by deafult is a good idea, though.

comment:2 by dju`, 20 years ago

Lists wouldn't be treated as headings by default, only when using .2, not when using .1 (which is somewhat the default list iterator). Using rst is a solution, but I'd prefer not to learn a new syntax and combine both to write wiki pages.

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.