pivotal / blog

Pivotal Engineering Blog
https://engineering.pivotal.io/
40 stars 47 forks source link

Finish off switch away from highlight.js to native highlighting #269

Closed rctay closed 4 years ago

rctay commented 4 years ago

Requests were observed to be made for highlight-github.css and highlight.pack.js for posts and were not present, yet we still see syntax highlighting in code blocks. It turns out that we are using hugo's native highlighting on the server-side instead of highlight.js on the client-side since f4ccbe3 (Sun Feb 2, Cleans up highlightjs. Adjusts hugo highlighting to native theme), but we were still making requests for highlight.js resources.

Remove those unneeded vestiges.