deckgo/gatsby-remark-highlight-code

Disabling wordwrap / enabling overflow:scroll?

simplenotezy opened this issue · 1 comments

Enabling overflow scroll does not seem to work for me.

It looks like this:

image

I would like to have horizontal scroll instead of wordwrapping. How is this possible?

According to documentation overflow should be auto.

I have also tried with this:

deckgo-highlight-code {
  --deckgo-highlight-code-carbon-overflow: scroll;
}

But that does not work

deckgo-highlight-code {
  --deckgo-highlight-code-white-space: nowrap;
}