byorgey / BlogLiterately

Command-line tool for formatting and publishing blog posts.
GNU General Public License v3.0
19 stars 4 forks source link

use the same tags for hscolour results as for highlighting-kate #8

Closed luite closed 11 years ago

luite commented 11 years ago

this wraps hscolour results in

 tags

luite commented 11 years ago

it used to replace the pre element by a pair of pre / code elements (replacing pre with code first, then wrapping it in a new pre element), and apply the filters that replace the class names with hardcoded style information.

I've removed the pre/code wrapping here, since that's now done in colourIt (with some changes to add classes to get results similar to what highlighting-kate does), to make it consistent, since the bakeStyles function is only used for icss, not for css

byorgey commented 11 years ago

Aha, got it, thanks.