Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to change the highlight.js theme #18

Open
InsidersByte opened this issue Apr 13, 2016 · 1 comment
Open

Ability to change the highlight.js theme #18

InsidersByte opened this issue Apr 13, 2016 · 1 comment

Comments

@InsidersByte
Copy link

It would be nice if it was possible to change the highlight.js theme.

I first tried by adding <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.8.0/styles/darkula.min.css"> to the code injection head, but it didn't work exactly (see below).

screen shot 2016-04-13 at 15 59 58

I was hoping it would look something like this.

screen shot 2016-04-13 at 16 01 18

To get it to work i used the developer tools to disable the backgrounds from both pre.codeblock code and pre.codeblock .lines.

@sethbergman
Copy link

You can also use prism.js for syntax highlighting.
http://prismjs.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants