Modify

Ticket #305 (new enhancement)

Opened 3 years ago

Apply macro on TOC page which generate lists

Reported by: ulysess444@… Owned by: moschny
Priority: normal Milestone:
Component: trac.tracnav Version:
Severity: normal Keywords:
Cc:

Description

Current allow_macros parameter only apply after list analyze.

Before analyze the list, apply macros first which will generate new lists, like Include and TitleIndex, will be a great enhancement. Then we can build a TOC with other TOC or dynamic TOC.

I think it's no need to specify what macros should aplly since the TOC pages are generally dedicated to this use, allow some and don't allow others seems not so much usefulness.

Subject_TOC_1

 * item1
 * item2
Subject_TOC_2

 * item3
 * item4
TOC

 * Subject1
 [[Include(Subject_TOC_1)]]
 * Subject2
 [[Include(Subject_TOC_2)]]

Page TOC when display as float TOC should be the same as direct view as a wiki page like below.

  • Subject1
    • item1
    • item2
  • Subject2
    • item3
    • item4

Attachments

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from moschny. Next status will be 'new'
The owner will be changed from moschny to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.