Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349726 - [textile] table of contents should include a CSS class to facilitate styling
Summary: [textile] table of contents should include a CSS class to facilitate styling
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 1.5.1   Edit
Assignee: David Green CLA
QA Contact: David Green CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-17 15:47 EDT by David Green CLA
Modified: 2011-07-14 20:26 EDT (History)
1 user (show)

See Also:


Attachments
mylyn/context/zip (43.89 KB, application/octet-stream)
2011-06-17 16:00 EDT, David Green CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.