From 07031fe66787f5b99c69773514e8649e1f12daee Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Thu, 11 Feb 2021 18:36:48 -0600 Subject: [PATCH] enable footnotes extra for markdown --- incorporealcms/config.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/incorporealcms/config.py b/incorporealcms/config.py index 05a0d3d..aa4530c 100644 --- a/incorporealcms/config.py +++ b/incorporealcms/config.py @@ -32,8 +32,14 @@ class Config(object): }, } - MARKDOWN_EXTENSIONS = ['mdx_linkify', 'tables'] - MARKDOWN_EXTENSION_CONFIGS = {} + MARKDOWN_EXTENSIONS = ['extra', 'mdx_linkify', 'tables'] + MARKDOWN_EXTENSION_CONFIGS = { + 'extra': { + 'footnotes': { + 'UNIQUE_IDS': True, + }, + } + } DEFAULT_PAGE_STYLE = 'light'