summaryrefslogtreecommitdiffstats
path: root/helpers/pygments_test.go
AgeCommit message (Collapse)Author
2019-08-12tests: Convert from testify to quicktestBjørn Erik Pedersen
2017-10-14Add table linenos support for Chroma highlighterBjørn Erik Pedersen
Fixes #3915
2017-10-04helpers: Fix broken testBjørn Erik Pedersen
2017-09-29Clean up lint in various packagesCameron Moore
Changes fall into one of the following: - gofmt -s - receiver name is inconsistent - omit unused 2nd value from range - godoc comment formed incorrectly - err assigned and not used - if block ends with a return statement followed by else
2017-09-29helpers: Fix broken Chroma testBjørn Erik Pedersen
2017-09-25Use Chroma as new default syntax highlighterBjørn Erik Pedersen
If you want to use Pygments, set `pygmentsUseClassic=true` in your site config. Fixes #3888
2017-02-17all: Refactor to nonglobal Viper, i18n etc.Bjørn Erik Pedersen
This is a final rewrite that removes all the global state in Hugo, which also enables the use if `t.Parallel` in tests. Updates #2701 Fixes #3016
2016-10-24all: Unify case of config variable namesAlbert Nigmatzianov
All config variables starts with low-case and uses camelCase. If there is abbreviation at the beginning of the name, the whole abbreviation will be written in low-case. If there is abbreviation at the end of the name, the whole abbreviation will be written in upper-case. For example, rssURI.
2016-02-06Apply gofmt -sBjørn Erik Pedersen
2015-12-10Add copyright header to that source files that don’t have one.Anthony Fok
See #1646
2015-11-23Add PygmentsOptions optionAndrew Brampton
This allows default pygments settings to be used, if none are explictly set per shortcode. Fixes #1260
2015-05-20Stop Viper from leaking across many of the tests (now tests pass regardless ↵spf13
of order tested)
2015-04-15Add more options to highlightbep
Fixes #1021