Hugo-coder: code block in the dark mode

Created on 9 Apr 2020  路  2Comments  路  Source: luizdepra/hugo-coder

just a question please, why my code looks like that in the dark mode?

here is my code:

query maliciousQuery {
  thread(id: "some-id") {
    messages(first: 99999) {
      thread {
        messages(first: 99999) {
          thread {
            messages(first: 99999) {
              thread {
                # ...repeat times 10000...
              }
            }
          }
        }
      }
    }
  }
}

and here is the result :
image

Most helpful comment

We are using using an old way to set code highlight. I need to take a look and update it.
But, I think it still works fine. Try to change the pygmentsstyle config to other values. Here is a list of available styles.

You could also try to use follow this new configuration steps.

All 2 comments

We are using using an old way to set code highlight. I need to take a look and update it.
But, I think it still works fine. Try to change the pygmentsstyle config to other values. Here is a list of available styles.

You could also try to use follow this new configuration steps.

thank you!
I change it to : pygmentsstyle = "dracula" and it works well for me.
the result 馃憞 :
Screenshot 2020-04-09 at 16 03 19

Was this page helpful?
0 / 5 - 0 ratings

Related issues

clement-pannetier picture clement-pannetier  路  3Comments

rajeev1986 picture rajeev1986  路  7Comments

sunxichen picture sunxichen  路  3Comments

systemallica picture systemallica  路  7Comments

SillyPilleus picture SillyPilleus  路  5Comments