Disable syntax guessing for PygmentsCodeFences by default
authorPhilipp Oppermann <dev@phil-opp.com>
Thu, 31 Mar 2016 11:14:57 +0000 (13:14 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 4 Apr 2016 20:19:36 +0000 (22:19 +0200)
commit43b5dfabb5fb36bb4574289912c66a46ef20ffce
tree958045d387b8822621024b8649b071058c8f657c
parent0698f294c6d335031951f1cb528c90f2a120eebb
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.
commands/hugo.go
docs/content/overview/configuration.md
helpers/content_renderer.go