splashreader icon indicating copy to clipboard operation
splashreader copied to clipboard

handle syntax-highlighted code blocks

Open rattrayalex opened this issue 10 years ago • 0 comments

syntax-highlighted blocks typically wrap each word in a span, with classes for spacing as well as colors. Since the classes and their associated styles are removed by Splash, an unbroken stream of tokens is the result.

repro: http://blog.ppelgren.se/2015-01-03/DIY-Make-Your-Own-Programming-language/

rattrayalex avatar Jan 04 '15 04:01 rattrayalex