mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-20 14:36:57 +00:00
85a8a47bb1
As per the documentation here: https://michelf.ca/projects/php-markdown/configuration/#configure Calling defaultTransform() will use the default options, thus ignoring the "hard_wrap" option. Calling transform() instead, which takes the options into account.
Twig Markdown Extension
This package is a Twig extension that provides the following:
-
markdown_to_htmlfilter: generates HTML from a Markdown block; -
html_to_markdownfilter: generates Markdown from an HTML block.