You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, when using :source-highlighter: pygments, the background color of the code blocks will still be the color of the zenburn background, and not the appropriate one from pygments.
This might be a reveal.js issue (hakimel/reveal.js#1114), but I haven't quite figured it out.
The text was updated successfully, but these errors were encountered:
You are correct that this is an issue with this backend. We need to be checking which syntax highlighter is in use before adding the zenburn style to the HTML output.
Well... I may be over my head, but I'm not sure its quite that simple. I tried just removing the <link href="[...]/zenburn.css"> line from the HTML output, and it still has that same color.
Looking at the Developer Tools > Inspector in Firefox lead me to this:
It looks to me like the background and color attributes shouldn't be there (i.e., its a problem with reveal.js), or should be overridden when not using highlight.js. Overridden might make more sense, as that also covers "plain" code blocks where pygments / coderay wasn't run.
Right now, when using
:source-highlighter: pygments
, the background color of the code blocks will still be the color of thezenburn
background, and not the appropriate one frompygments
.This might be a reveal.js issue (hakimel/reveal.js#1114), but I haven't quite figured it out.
The text was updated successfully, but these errors were encountered: