Opened 11 years ago
Last modified 9 years ago
#10639 closed enhancement
Include just a part of a wiki page — at Initial Version
Reported by: | tsari | Owned by: | anybody |
---|---|---|---|
Priority: | normal | Component: | IncludeMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
The IncludeMacro (http://trac-hacks.org/wiki/IncludeMacro) allows you to inlcude full wiki pages into another page. This is useful, but I want to include just a part of a wiki page.
How should the macro work?
- specify the part which should be included, e.g. [[InlcudePart(PAGE_URL, HEADLINE)]]
So the marco should scan the page which exists under PAGE_URL for a headline tag with the content HEADLINE. It should recognize the type of headline (h1...h6) and get the content underneath up to the next headline with the same type or the page end.
Thanks a lot
Note: See
TracTickets for help on using
tickets.