Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
New for Drupal 8 is that two different Markdown libraries can be used, and more may be added.
* PHP Markdown by Michel Fortin
* CommonMark
If you are comfortable with composer that is the best way to install both PHP Markdown and CommonMark. They will then be autoloaded just like other parts of Drupal 8.
The old way of installation in the libraries directory is only supported for PHP Markdown. The libraries module is then needed to load the library.
#224178 by therzog, milianw and weitzman: Markdown adds markup to empty text, so avoid adding it when empty text comes around to keep it empty. Also improves performance for empty text.
Backporting two recent fixes from the 6.x-1.1 release:
- Update to latest library. PHP Markdown Extra 1.2.2 - released on June 21, 2008.
- Explanation on security best practices for using markdown.
#224178 by therzog, milianw and weitzman: Markdown adds markup to empty text, so avoid adding it when empty text comes around to keep it empty. Also improves performance for empty text.
Update to latest library. PHP Markdown Extra 1.2.2 - released on June 21, 2008.
Explanation on security best practices for using markdown
- New stripped down version of marksmarty module without smartypants, since it is at tipogrify module now.
- Includes some translatability fixes.
- Improves phpdoc.
- Fixes typos.
- Has better file organization.
- Updates README for actual Drupal 5 interface.
(Same code as Drupal 6 except .info file and hook_help() signature).
New feature compared to marksmarty for Drupal 5 is the help block for markdown syntax.
- New stripped down version of marksmarty module without smartypants, since it is at tipogrify module now.
- Includes some translatability fixes.
- Improves phpdoc.
- Fixes typos.
- Has better file organization.
- Updates README for actual Drupal 6 interface.