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

Disable syntax guessing for PygmentsCodeFences #2034

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
3 participants
@phil-opp

phil-opp commented Mar 31, 2016

This disables highlighting for fenced code blocks without explicitly specified language. It also introduces a new PygmentsCodeFencesGuessSyntax config option (defaulting to false).

To enable syntax guessing again, add the following to your config file:

PygmentsCodeFencesGuessSyntax = true

This is a breaking change.

Fixes #1861.

@CLAassistant

This comment has been minimized.

Show comment
Hide comment
@CLAassistant

CLAassistant Mar 31, 2016

CLA assistant check
All committers have accepted the CLA.

CLAassistant commented Mar 31, 2016

CLA assistant check
All committers have accepted the CLA.

@bep

This comment has been minimized.

Show comment
Hide comment
@bep

bep Apr 4, 2016

Member

@phil-opp could you see my comment in #1861 and adjust this PR?

Member

bep commented Apr 4, 2016

@phil-opp could you see my comment in #1861 and adjust this PR?

Disable syntax guessing for PygmentsCodeFences by default
This disables highlighting for fenced code blocks without explicitly specified language. It also introduces a new `PygmentsCodeFencesGuessSyntax` config option (defaulting to false).

To enable syntax guessing again, add the following to your config file: `PygmentsCodeFencesGuessSyntax = true`

This is a breaking change.
@phil-opp

This comment has been minimized.

Show comment
Hide comment
@phil-opp

phil-opp commented Apr 4, 2016

@bep done

@bep

This comment has been minimized.

Show comment
Hide comment
@bep

bep Apr 4, 2016

Member

Good merged in 43b5dfa

Member

bep commented Apr 4, 2016

Good merged in 43b5dfa

@bep bep closed this Apr 4, 2016

@phil-opp phil-opp deleted the phil-opp:patch-1 branch Apr 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment