Closed refaelsh closed 4 months ago
UPDATE:
I just found out by accident that if I remove the line -- Not polymorphic list reversion.
from the source code block, the problem goes away. It seems to be that only when commented lines appear in a Haskell source code block, then the problems begin.
As far as I remember, reveal.js is using its own plugin to do syntax highlighting. That's the reason why you can have differences between Asciidoctor using Highlight.js or Rouge and Asciidoctor reveal.js.
If you can reproduce this issue using the latest version of reveal.js you should open an issue there: https://github.com/hakimel/reveal.js
I'm closing since I don't think we should fix this issue here.
Oh, yes, I understand. Thank you very much for the prompt response.
If you can reproduce this issue using the latest version of reveal.js
I will try it and go open a bug there.
Here is a simple code for problem demonstration:
Here how it looks with plain Asciidoctor:
And here how it looks with Asciidoctor+RevealJS:
The plain Asciidoctor highlighting looks way better. Might it be that I found an issue in Asciidoctor+RevaelJS?