From a80a707321937062a8d6fe4514f7fd8a3efc0e29 Mon Sep 17 00:00:00 2001 From: Bernhard Scheirle Date: Wed, 2 Nov 2016 21:00:04 +0100 Subject: [PATCH] Set the Markdown output format to html5 by default --- docs/settings.rst | 4 ++-- pelican/settings.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/settings.rst b/docs/settings.rst index 231906e6..bf203841 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -121,9 +121,9 @@ Setting name (followed by default value, if any) for a complete list of supported options. The ``extensions`` option will be automatically computed from the ``extension_configs`` option. - Default is ``'extension_configs': {'markdown.extensions.codehilite': + Default is ``{'extension_configs': {'markdown.extensions.codehilite': {'css_class': 'highlight'},'markdown.extensions.extra': {}, - 'markdown.extensions.meta': {},},``. + 'markdown.extensions.meta': {},}, 'output_format': 'html5',}``. ``OUTPUT_PATH = 'output/'`` Where to output the generated files. ``PATH`` Path to content directory to be processed by Pelican. If undefined, and content path is not specified via an argument to the ``pelican`` diff --git a/pelican/settings.py b/pelican/settings.py index 14ddb8ba..5773b925 100644 --- a/pelican/settings.py +++ b/pelican/settings.py @@ -107,6 +107,7 @@ DEFAULT_CONFIG = { 'markdown.extensions.extra': {}, 'markdown.extensions.meta': {}, }, + 'output_format': 'html5', }, 'JINJA_EXTENSIONS': [], 'JINJA_FILTERS': {},