This is a C based implementation of the Markdown processor. It's pretty fast compared to running PHP code.

Would be nice to be able to choose this as the active library compared to the PHP Markdown lib.

Some links to help investigate:

If you're interested I'm willing to put development time into this.

Comments

dave bagler’s picture

I'd be willing to help.

frjo’s picture

Version: 7.x-2.x-dev » 8.x-1.x-dev
frjo’s picture

Status: Active » Closed (won't fix)

I close this since we now have support for CommonMark. If Pecl/Markdown is still of interest even do development seems to have halted, please reopen.

markhalliwell’s picture

Title: Add support for Pecl/Markdown plugin » Add support for PECL Markdown extension
Version: 8.x-1.x-dev » 8.x-2.x-dev
Component: Change to library » Code
Status: Closed (won't fix) » Active

Given the refactoring that #2952435: Merge in the CommonMark project is doing, adding support for additional parsers is actually rather trivial now (they're just Drupal plugins).

I also opened up the following to see if we can get a CommonMark PECL extension as well:
https://github.com/thephpleague/commonmark/issues/315

markhalliwell’s picture

  • markcarver committed 987d4bb on 8.x-2.x
    Add new PECL cmark extension support
    
    Issue #2952435 by markcarver:...
markhalliwell’s picture

Title: Add support for PECL Markdown extension » Add support for PECL cmark extension
Status: Active » Fixed

I'm going to go ahead and mark this issue as "Fixed". I don't really see a valid reason to support http://pecl.php.net/package/markdown which is already 6 years old.

If you really need to add support for it, open a new issue and provide a patch please :D

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.