From 1dd4ff625e5ca5ce10ea8200f41c2880d4104667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Tue, 8 Mar 2022 07:55:57 -0500 Subject: [PATCH] Add explicit markdown configuration w/ no changes --- config/filter.format.markdown.yml | 19 ++++++- config/markdown.parser.commonmark.yml | 79 +++++++++++++++++++++++++++ 2 files changed, 97 insertions(+), 1 deletion(-) create mode 100644 config/markdown.parser.commonmark.yml diff --git a/config/filter.format.markdown.yml b/config/filter.format.markdown.yml index ba36668..a879552 100644 --- a/config/filter.format.markdown.yml +++ b/config/filter.format.markdown.yml @@ -14,4 +14,21 @@ filters: status: true weight: 0 settings: - markdown_library: commonmark + id: commonmark + enabled: true + render_strategy: + type: filter_output + custom_allowed_html: '' + plugins: + commonmark: true + commonmark-external-links: false + commonmark-footnotes: false + commonmark-heading-permalink: false + commonmark-strikethrough: false + commonmark-table: false + commonmark-task-list: false + filter_align: false + filter_caption: false + media_embed: false + override: false + filterFormat: markdown diff --git a/config/markdown.parser.commonmark.yml b/config/markdown.parser.commonmark.yml new file mode 100644 index 0000000..55901fc --- /dev/null +++ b/config/markdown.parser.commonmark.yml @@ -0,0 +1,79 @@ +dependencies: + module: + - markdown +id: commonmark +enabled: true +weight: 0 +render_strategy: + type: filter_output + custom_allowed_html: '' + plugins: + commonmark: true + commonmark-external-links: false + commonmark-footnotes: false + commonmark-heading-permalink: false + commonmark-strikethrough: false + commonmark-table: false + commonmark-task-list: false +settings: + allow_unsafe_links: true + enable_em: true + enable_strong: true + html_input: allow + max_nesting_level: 0 + use_asterisk: true + use_underscore: true +extensions: + - + id: commonmark-attributes + enabled: false + weight: 0 + - + id: commonmark-autolink + enabled: true + weight: 0 + - + id: commonmark-disallowed-raw-html + enabled: false + weight: 0 + - + id: commonmark-external-links + enabled: false + weight: 0 + settings: { } + - + id: commonmark-footnotes + enabled: false + weight: 0 + settings: { } + - + id: commonmark-heading-permalink + enabled: false + weight: 0 + settings: { } + - + id: commonmark-mention + enabled: false + weight: 0 + - + id: commonmark-smart-punctuation + enabled: false + weight: 0 + settings: { } + - + id: commonmark-strikethrough + enabled: false + weight: 0 + - + id: commonmark-table + enabled: false + weight: 0 + - + id: commonmark-table-of-contents + enabled: false + weight: 0 + settings: { } + - + id: commonmark-task-list + enabled: false + weight: 0