From 35d3bae3a3a3e9a80773748d39b83665152bbec7 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 10 Dec 2021 12:00:00 +0000 Subject: [PATCH] chore: export new markdown config --- config/filter.format.full_html.yml | 30 ++++++------------- config/markdown.parser.php-markdown-extra.yml | 11 +++++++ config/markdown.parser.php-markdown.yml | 11 +++++++ 3 files changed, 31 insertions(+), 21 deletions(-) create mode 100644 config/markdown.parser.php-markdown-extra.yml create mode 100644 config/markdown.parser.php-markdown.yml diff --git a/config/filter.format.full_html.yml b/config/filter.format.full_html.yml index 3e33d45..53e6df0 100644 --- a/config/filter.format.full_html.yml +++ b/config/filter.format.full_html.yml @@ -12,10 +12,17 @@ filters: filter_url: id: filter_url provider: filter - status: false + status: true weight: -49 settings: filter_url_length: 72 + markdown: + id: markdown + provider: markdown + status: true + weight: -50 + settings: + markdown_library: php-markdown filter_html_image_secure: id: filter_html_image_secure provider: filter @@ -37,7 +44,7 @@ filters: filter_htmlcorrector: id: filter_htmlcorrector provider: filter - status: false + status: true weight: -42 settings: { } filter_align: @@ -70,22 +77,3 @@ filters: default_view_mode: default allowed_media_types: { } allowed_view_modes: { } - markdown: - id: markdown - provider: markdown - status: true - weight: -15 - settings: - override: false - id: php-markdown-extra - enabled: true - render_strategy: - type: filter_output - custom_allowed_html: '' - plugins: - filter_align: false - filter_caption: false - media_embed: false - php-markdown: true - php-markdown-extra: true - filterFormat: full_html diff --git a/config/markdown.parser.php-markdown-extra.yml b/config/markdown.parser.php-markdown-extra.yml new file mode 100644 index 0000000..2033b2e --- /dev/null +++ b/config/markdown.parser.php-markdown-extra.yml @@ -0,0 +1,11 @@ +dependencies: + module: + - markdown +id: php-markdown-extra +weight: 30 +enabled: true +render_strategy: + type: filter_output + custom_allowed_html: null + plugins: { } +settings: { } diff --git a/config/markdown.parser.php-markdown.yml b/config/markdown.parser.php-markdown.yml new file mode 100644 index 0000000..75cb60d --- /dev/null +++ b/config/markdown.parser.php-markdown.yml @@ -0,0 +1,11 @@ +dependencies: + module: + - markdown +id: php-markdown +weight: 31 +enabled: true +render_strategy: + type: filter_output + custom_allowed_html: null + plugins: { } +settings: { }