| Summary: | [MediaWiki] Produce a table of contents in the HTML output | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Eike Stepper <stepper> | ||||
| Component: | Mylyn | Assignee: | David Green <greensopinion> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | 1.3.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Eike Stepper
@__TOC__@ has been implemented. A table of contents is now emitted providing that the @__TOC__@ appears alone on a line of text. MediaWiki supports generating a table of contents even when @__TOC__@ appears in the middle of a line. If that's important to you please reopen this bug. Created attachment 168064 [details]
mylyn/context/zip
Thank you, David. I tested it now and it looks nice: http://www.eclipse.org/cdo/documentation/relnotes_30/index.php I'm not sure why you told to use @__TOC__@. For me it worked with __TOC__, i.e. without the "@"s. (In reply to comment #3) > Thank you, David. I tested it now and it looks nice: > http://www.eclipse.org/cdo/documentation/relnotes_30/index.php > > I'm not sure why you told to use @__TOC__@. For me it worked with __TOC__, i.e. > without the "@"s. Funny, you should use Mylyn and WikiText to read the bugs :-) "@__TOC__@" is rendered as code block "__TOC__", i.e. David really meant "__TOC__", while the "@"s were just WikiText formatting instructions. That's funny. And a bit dangerous ;-) |