php-markdown
                                
                                 php-markdown copied to clipboard
                                
                                    php-markdown copied to clipboard
                            
                            
                            
                        Parser for Markdown and Markdown Extra derived from the original Markdown.pl by John Gruber.
I have already have a composer.json file which content is : { "require": { "torophp/torophp": "dev-master", "mustache/mustache": "dev-master" } } How to include your composer.json content to mine?
First off; this is a rocking PHP Markdown reader! I'm using it to render some help docs for a module documentation website. I am using (fenced) code blocks to show...
From https://www.drupal.org/node/2372753 The following example markdown: ``` Header1 | Header2 ----------- | ------------ Cell 1.1 | Item 1.2.1Item 1.2.2 Cell 2.1 | Cell 2.2 ``` Results in a broken table...
now,php-markdown will parse `````` ```php print 'hwllo world' ```` `````` to: ``` print 'hwllo world' ``` the `code class="php"`, I think it no standard. see the page - http://jgm.github.io/stmd/spec.html#fenced-code-blocks -...
Filters.
@michelf what do you think about adding a "filter" system? With this one could add filters after the code is processed or before. It would make it easier to incorporate...
Even simple stuff like `http://google.com` or `https://google.com` is not auto linked.
Input: ``` **This** *works* **This_doesn't** *work* ``` Output: (https://michelf.ca/projects/php-markdown/dingus/) ``` This works This_doesn't *work* ``` Expected: (http://daringfireball.net/projects/markdown/dingus) ``` This works This_doesn't work ```
- Allowing ID's and classes to be added to blockquotes as well. - added a transformFile method
This causes invalid paragraphs to be added after a div with MarkdownExtra, but it works with the regular Markdown parser: ``` image ``` It also works fine if the tags...