Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349726

Summary: [textile] table of contents should include a CSS class to facilitate styling
Product: z_Archived Reporter: David Green <greensopinion>
Component: MylynAssignee: David Green <greensopinion>
Status: RESOLVED FIXED QA Contact: David Green <greensopinion>
Severity: enhancement    
Priority: P3 CC: steffen.pingel
Version: unspecified   
Target Milestone: 1.5.1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description David Green CLA 2011-06-17 15:47:14 EDT
When using Textile markup, WikiText extends Textile with the following

bc. {toc}

the emitted table of contents can include a list-style as follows:

bc. {toc:style=circle}

however there is  no way to affect the CSS class in the ouput.  With this enhancement, a CSS class can be specified as follows:

bc. {toc:class=tableOfContents}

if unspecified, the class should default to "toc".
Comment 1 David Green CLA 2011-06-17 15:52:51 EDT
note that previously if unspecified the table of contents is emitted with a @<ol class="toc"@
Comment 2 David Green CLA 2011-06-17 16:00:20 EDT
implemented
Comment 3 David Green CLA 2011-06-17 16:00:22 EDT
Created attachment 198212 [details]
mylyn/context/zip
Comment 4 Steffen Pingel CLA 2011-06-20 08:18:38 EDT
I don't see any changes in the repository? Note that this bug is marked for 1.5.1 which requires changes to be present on the e_3_7_m_3_6_x branch to be included in the service release.
Comment 5 David Green CLA 2011-07-14 19:53:41 EDT
Thanks for checking Steffen. The commit id is 7a0e52e936c2b96c2075f4735eb6e7f3114b98df, which for me appears to be on e_3_7_m_3_6_x and master.  Am I missing something?
Comment 6 David Green CLA 2011-07-14 19:55:25 EDT
Actually the equivalent commit on master is 70520ac4b476c6a63a7d76bdc4fba840ae59b45f
Comment 7 Steffen Pingel CLA 2011-07-14 20:26:12 EDT
Excellent. I have both commits in the history.