Hi,
I have been trying to get highlight.js to work with casper. Here is the code:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/dracula.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/cpp.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/x86asm.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
It seems that:
.post-full-content pre code * {
color: inherit;
}
In line 936 of screen.css is removing the syntax highlighting.
Is there any way to remove this without editing the file directly (i.e. code injection).
Thanks.
