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

Remove highlight.js in favor of Hugo's Chroma syntax highlighter. #141

Closed
wants to merge 4 commits into from

Conversation

cedws
Copy link

@cedws cedws commented Oct 11, 2018

This pull request addresses #109 by using Hugo's Chroma compile-time syntax highlighting introduced in version 0.28.
There are two potentially breaking changes:

  • pygmentsUseClasses must be removed from the config.toml, otherwise the pygmentsStyle option will be ignored be Hugo.
  • pygmentsCodeFences must be configured to true, and pygmentsStyle must be set to use one of the themes here.
    Hugo still uses the pygments entries with Chroma for compatibility. Find out more here.
    Let me know if you have any questions or suggestions .

@cedws
Copy link
Author

cedws commented Jan 12, 2019

Closing this PR due to inactivity.

@cedws cedws closed this Jan 12, 2019
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.

1 participant