Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.0

Request #16428 Different classes for each language
Submitted: 2009-07-11 18:44 UTC
From: perthius Assigned: stoyan
Status: Assigned Package: Text_Highlighter (version 0.7.1)
PHP Version: 5.2.5 OS: Windows XP
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 12 + 30 = ?

 
 [2009-07-11 18:44 UTC] perthius (Perthius Bit)
Description: ------------ It would be great if the html code generated by this package added a class to the pre element indicating which language is being displayed, eg. <pre class="hl-html"> This would allow me to define different styles for different languages in the same page without having to wrap each code section in another div. .hl_html .hl-code { color: Gray; } .hl_javascript .hl-code { color: Maroon; }

Comments

 [2009-07-13 09:47 UTC] stoyan (Stoyan Stefanov)
-Status: Open +Status: Assigned -Assigned To: +Assigned To: stoyan
yes, could be a new option. Thanks for the idea, Perthius! Stoyan