How to support scrolling when using pygments with Jekyll
jekyll, pygments
Solution
Find your highlight.css at: /PROJECT_ROOT/assets/themes/THEME_NAME/css/highlight.css
and add this line at the end:
pre { white-space: pre; overflow: auto; }
Thanks @manatwork for the solution.
Problem
Is it possible to use horizontal scrolling rather than text wrapping in a code section highlughted with pygments when working in Jekyll. Source of document: ``` {% highlight bash %} Full thread dump OpenJDK Client VM (19.0-b09 mixed mode, sharing): "Attach Listener" daemon prio=10 tid=0x0a482400 nid=0x5105 waiting on condition [0x00000000] java.lang.Thread.State: RUNNABLE .... {% endhighlight %} ``` Generated page (Notice the hex address being wrapped rather than scrolled):