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