风の愿 » MARKDOWN

Yet Another PHP Markdown Parser Supports GFM

php-marked is a full-featured PHP markdown parser, completely ported from marked, brings you all excellent features of marked, including GFM.

It keep consistent with marked, which means you could safely implement fast or even realtime markdown previewing using client-side JavaScript and needn't worrying about inconsistent results between server-side rendering and client-side previewing.

  • Support Github Flavoured Markdown

    • Multiple underscores in words

    • URL autolinking

    • Strikethrough

    • Fenced code blocks

    • Tables

  • High performance

GitHub: https://github.com/breeswish/php-marked

Install via Composer:

composer install "breeswish/php-marked"
Published @ 08th July, 2014
1