Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix syntax highlighting for github pages (cont) #455

Merged

Conversation

kiendang
Copy link
Contributor

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.

Copy link
Member

@rossabaker rossabaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! If we could identify the versions that GitHub uses across the board, we could pin those in the build here and have less of this type of issue ... for as long as GitHub remains stable.

@rossabaker
Copy link
Member

Oh, #457 might address that...

@rossabaker rossabaker merged commit ed2e970 into typelevel:development Jun 29, 2023
@kiendang kiendang deleted the disable-gh-pages-rouge-highlighter branch June 29, 2023 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants