Mercurial > piecrust2
changeset 1034:96f1e5e377ef
markdown: Use either the `hoedown` or `markdown` config section.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 16 Jan 2018 08:39:08 -0800 |
parents | 57283302b3ee |
children | 1a7f3ae09c53 |
files | piecrust/formatting/hoedownformatter.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 "