This module provides a process plugin that converts Markdown text to HTML. It leverages the CommonMark package for the transformation, allowing for various Markdown extensions to be enabled.
A process plugin to convert Markdown to HTML.
This module uses the CommonMark package from The League of Extraordinary Packages to perform the transformation.
Include the process plugin in your pipeline configuration as follows:
process:
bar:
plugin: markdown_to_html
source: foo
markdown_extensions:
- attributes
- autolink
- description_list
- disallow_raw_html
- embed
- external_link
- footnote
- github_flavored_markdown
- heading_permalink
- inlines_only
- mention
- smart_punct
- strikethrough
- table
- table_of_contents
- task_list
Note the markdown_extensions are optional, and correspond to the extensions supplied with the CommonMark package.
Ask your assistant about Migrate Process Markdown to HTML
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- migrate Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.