# HG changeset patch # User Ludovic Chabant # Date 1516120748 28800 # Node ID 96f1e5e377efeed258d7e5f7d8f4025c67af12bd # Parent 57283302b3ee6ec3ae857c935804e10909b97efa markdown: Use either the `hoedown` or `markdown` config section. diff -r 57283302b3ee -r 96f1e5e377ef piecrust/formatting/hoedownformatter.py --- a/piecrust/formatting/hoedownformatter.py Tue Jan 16 08:38:46 2018 -0800 +++ b/piecrust/formatting/hoedownformatter.py Tue Jan 16 08:39:08 2018 -0800 @@ -31,6 +31,8 @@ config = self.app.config.get('hoedown') if config is None: + config = self.app.config.get('markdown') + if config is None: config = {} elif not isinstance(config, dict): raise Exception("The `hoedown` configuration setting must be "