Add a markdown text format for Markdown content

This commit is contained in:
Oliver Davies 2024-06-02 13:00:42 +01:00
parent df79fb7060
commit 3b3d53913a
6 changed files with 38 additions and 4 deletions

View file

@ -33,6 +33,7 @@ module:
layout_builder_modal: 0 layout_builder_modal: 0
layout_discovery: 0 layout_discovery: 0
link: 0 link: 0
markdown: 0
menu_link_content: 0 menu_link_content: 0
menu_ui: 0 menu_ui: 0
metatag: 0 metatag: 0

View file

@ -8,7 +8,7 @@ _core:
default_config_hash: mclCbTlJwWJORez4Y1eX2MqA0aGjSMAoJb3TaBABcK8 default_config_hash: mclCbTlJwWJORez4Y1eX2MqA0aGjSMAoJb3TaBABcK8
name: 'Basic HTML' name: 'Basic HTML'
format: basic_html format: basic_html
weight: 0 weight: -10
filters: filters:
editor_file_reference: editor_file_reference:
id: editor_file_reference id: editor_file_reference

View file

@ -8,7 +8,7 @@ _core:
default_config_hash: vpZysv3RHJjhYzq7O_q5q8mVlHdrSzKELmXyiX6RtV0 default_config_hash: vpZysv3RHJjhYzq7O_q5q8mVlHdrSzKELmXyiX6RtV0
name: 'Full HTML' name: 'Full HTML'
format: full_html format: full_html
weight: 2 weight: -7
filters: filters:
editor_file_reference: editor_file_reference:
id: editor_file_reference id: editor_file_reference

View file

@ -0,0 +1,33 @@
uuid: 9635d1b4-b7c0-453b-8e51-a251bb585f50
langcode: en
status: true
dependencies:
module:
- markdown
name: Markdown
format: markdown
weight: -9
filters:
markdown:
id: markdown
provider: markdown
status: true
weight: -15
settings:
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
override: false
filterFormat: null

View file

@ -6,7 +6,7 @@ _core:
default_config_hash: JLMwODO0epnA_H-jFlH9ezVfa5YBJniRv3MmLqYNl_Q default_config_hash: JLMwODO0epnA_H-jFlH9ezVfa5YBJniRv3MmLqYNl_Q
name: 'Plain text' name: 'Plain text'
format: plain_text format: plain_text
weight: 10 weight: -6
filters: filters:
filter_autop: filter_autop:
id: filter_autop id: filter_autop

View file

@ -6,7 +6,7 @@ _core:
default_config_hash: QiKqQS_YGAT3Qr4vaAgZICJknm-MGCzt_xBAMqg-tRM default_config_hash: QiKqQS_YGAT3Qr4vaAgZICJknm-MGCzt_xBAMqg-tRM
name: 'Restricted HTML' name: 'Restricted HTML'
format: restricted_html format: restricted_html
weight: 1 weight: -8
filters: filters:
filter_autop: filter_autop:
id: filter_autop id: filter_autop