asvd / microlight

highlights code in any programming language
http://asvd.github.io/microlight
MIT License
1.48k stars 63 forks source link

Use options instead hardcoded variables to customize style #4

Closed midudev closed 2 years ago

midudev commented 8 years ago

Hi! Awesome library, congrats! :)

I would like to ask for a way to accept a options object in order to customize a bit the style. For example, instead text-shadow, it might accept other kind of style or a tweaked one. I think some kind of customization would be great without compromising the size of the file.

Thanks!

boneskull commented 8 years ago

Along these lines, there's a significant amount of jank when scrolling this project's page on an iPhone 6 (iOS 9.3.2). My guess is the text shadow.