Skip to content

Ability to change the highlight.js theme #18

@InsidersByte

Description

@InsidersByte

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions