As I recall highlightjs is heavily based on regex, which makes parsing a lot of things interesting and people have to handle the odd edge cases like that, which it probably is not. I use highlightjs as well and it is painful on about every language...
On Monday, November 21, 2016 at 4:17:08 PM UTC-7, Brian Marick wrote: > > I recently installed highlight.js (http://highlightjs.readthedocs.io) on > my blog. It’s supposed to understand Elm code, but the results are not > appealing: > > > Given the same thing happens with Haskell code, I suspect I’m doing > something wrong. Any advice or experience? > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
