Comments (4)
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.
from asciidoctor-reveal.js.
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:
.reveal pre code {
display: block;
padding: 5px;
overflow: auto;
max-height: 400px;
word-wrap: normal;
background: #3F3F3F;
color: #DCDCDC; }
Which comes from simple.css line 140.
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.
from asciidoctor-reveal.js.
should be overridden when not using highlight.js
Yes, this is the second part to the change. We have to do a lot of this in the default Asciidoctor stylesheet, so it's the same routine here.
from asciidoctor-reveal.js.
Is this still an issue? Can I get a more precise reproducible case with screenshots?
from asciidoctor-reveal.js.
Related Issues (20)
- Source code block highlighting for Haskell HOT 2
- The :email: thingy is disregarded in the title slide HOT 2
- Block quote attribution looks misaligned
- Source code block is cut HOT 14
- Use GitHub CLI to create a release and upload the dist
- Compatibility Matrix is out of date HOT 2
- Create a "what's new" presentation for 5.0
- Clarify the Custom Styles documentation page HOT 1
- title-slide-background-gradient missing HOT 2
- Support STEM/Math feature using reveal.js built-in feature
- Background bug in reveal.js 4.1 HOT 1
- Image stacks
- TypeError: stubs.split is not a function HOT 6
- `muted` on local video doesn't work? HOT 1
- Highlight Lines in Source disables syntax colouring HOT 2
- Checklist: Checkboxes missing when Fontawesome enabled for icons HOT 3
- Highlightjs for Haskell looks bad/different in revealjs HOT 3
- TypeError: Opal.queue is not a function HOT 3
- Syntax highlighting doesn't work when following the most recent instructions HOT 4
- data-fragment-index are not correctly rendered on code blocks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asciidoctor-reveal.js.