Enabling scrollbars in highlight.js

Tue Jul 01 2014

Here is how you set scrollbars on code tags with overflowing text, styled with highlight.js.

pre {
  overflow: auto;
  background: #23241f;

Also set the background color of your pre to whatever color your style is using, as the code block will not fill into the overflowed area.