markwatkinson / luminous

Accurate and powerful syntax highlighting library
http://luminous.asgaard.co.uk
GNU Lesser General Public License v2.1
51 stars 5 forks source link

Distinction in embedded languages (HTML/JS/PHP/etc) #16

Open markwatkinson opened 13 years ago

markwatkinson commented 13 years ago

Sometimes the visual styling of embedded languages are such that it's not always clear at a glance which language any particular line belongs to. Some amount of visual redesign of the stylesheets might fix this, but it might be necessary to do something more radical - introduce language specific styling or something.

HTML already has a specific 'HTMLTAG' token type. It might also help to introduce some CSS-specific tokens and highlighting styles to at least get embedded CSS looking distinct.