php-markdown
php-markdown copied to clipboard
Parser for Markdown and Markdown Extra derived from the original Markdown.pl by John Gruber.
PHP Deprecated: preg_match_all(): Passing null to parameter 2 ($subject) of type string is deprecated in /var/www/dprp/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 232 Line 227 checks for empty $attr && no default ID value...
The following does not produce an \ tag in Markdown Extra. ``` Some markdown explaining how to use the AB&D process. *[AB&D]: Automated Build & Distribution ``` When you remove...
Re #387 - I've created a function which adds truncated title text to footnote links, and I've added some tests to show what it does. Very happy for any comments...
Footnote links' titles can only be set once by the library. This change would make the attribute display the content of the footnote. ### How At the moment, if a...
How to enter multiple attributes for rel? php-markdown [2.0.0](https://github.com/michelf/php-markdown/releases/tag/2.0.0) ``` $parser = new MarkdownExtra; $parser->empty_element_suffix = ">"; $url = $parser->transform([Link](url){.link target=_blank rel=noreferrer noopener}); echo $url; ``` This results `Link` noopener...
As discussed in https://github.com/michelf/php-markdown/issues/326. It's not pretty but it seems to work.