79719000

Date: 2025-07-29 17:21:59
Score: 1
Natty:
Report link

As suggested by @Sirko in the comments of the question, the solution in this case is to include one of the highlightjs CSS files in the resulting markup.

The docs are a bit sparse on the matter, but a full example can be found in their README (and is copied here):

<link rel="stylesheet" href="/path/to/styles/default.min.css">
<script src="/path/to/highlight.min.js"></script>
<script>hljs.highlightAll();</script>

(note specifically the stylesheet <link>.)

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Sirko
  • Low reputation (0.5):
Posted by: Neill