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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure default language for syntax-highlighting #8035

Merged
merged 4 commits into from Apr 30, 2020

Conversation

ashmaroli
Copy link
Member

@ashmaroli ashmaroli commented Feb 27, 2020

  • This is a 馃檵 feature or enhancement.
  • I've added tests.
  • The test suite passes locally.

Summary

Set default language for highlighter configured for use with kramdown.
It can be re-configured as follows:

kramdown:
  syntax_highlighter_opts:
    default_lang: html

Context

Closes #7858
/cc @parkr

@DirtyF
Copy link
Member

DirtyF commented Apr 30, 2020

@jekyll: merge +minor

@jekyllbot jekyllbot merged commit c0e5541 into jekyll:master Apr 30, 2020
jekyllbot added a commit that referenced this pull request Apr 30, 2020
@DirtyF DirtyF added this to the 4.1 milestone Apr 30, 2020
@ashmaroli ashmaroli deleted the kramdown-highlighter-default-lang branch April 30, 2020 19:01
@jekyll jekyll locked and limited conversation to collaborators Apr 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle Rouge::Guesser::Ambiguous
4 participants