typelevel / typelevel.github.com

Web site of typelevel.scala
https://typelevel.org
40 stars 99 forks source link

Fix syntax highlighting for github pages (cont) #455

Closed kiendang closed 1 year ago

kiendang commented 1 year ago

After #454, looks like the live site still has the default jekyll syntax highlighter enabled, conflicting with highlight.js. (Inspecting element on any piece of code on the site will show both highlighter-rouge and hljs...)

This is due to github-pages using a different version of jekyll (3.9.3) than the one defined in Gemfile. This fix actually fixes that for the live site.

See https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll#syntax-highlighting.

rossabaker commented 1 year ago

Oh, #457 might address that...