jacobtomlinson/carte-noire

Text highlighting for plaintext code blocks

Closed this issue · 6 comments

When highlighting code blocks with the "text" lexer for plaintext, the highlight color is not consistent.
Believe this is something to do with your highlightjs.piperita.scss file.

Thanks for this. A screenshot would be really useful too.

capture

Here's a snip of the code I've tried highlighting using "text" lexer.
Instead of consistent color it comes out with some strange colors.

Awesome that really helps. I'll try and look into it soon.

Out of curiosity what happens if you try and use the shell lexer?

I tried using the shell lexer once and the Github page build failed, figured it wasn't supported?

Ok thanks.

This is a bug in highlight.js which can be fixed by increasing the version.