I use Powerpack2 code highlighting - great tool BTW, but I’d also like to modify CSS for inline codes that don’t have any language specified (think poor man’s highlight)
I added the following to Stylish :
.node-inline-code {
color: #f0f0f0;
background-color: #c7254e;}
However this messed with with PowerPack’s code highlight, anyone know a trick to make this work; such that my css will only work on codes where no language is specified?
‘print [i for i in range(10)]
’ -> use Stylish CSS
’python print [i for i in range(10)]
’ -> use PowerPack
Thanks.