new extension proposal: Sundown
| From: | chobie | Date: | Tue, 10 Jan 2012 16:21:42 +0000 |
| Subject: | new extension proposal: Sundown | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-9029@lists.php.net to get a copy of this message | ||
Hi everybody,
this is Shuhei, I work for php developer in Japan. I'm in love with
php development
so I decided to provide some PHP extension last year.
I'd like to propose another Markdown extension which is wrapping
sundown markdown parser / render library.
what's the difference between pecl-Markdown and Sundown?
Sundown is a fast, robust Markdown parsing library, originally created
by Natacha Porté and improved Vicent Marti.
The most big difference is: Sundown is able to define custom markdown render.
My extension inspired Redcarpet ruby extension which created by Vicent.
[Sundown](https://github.com/tanoku/sundown)
[Redcarpet](https://github.com/tanoku/redcarpet)
straight forward example.
````
$sd = new Sundown\Markdown(new Sundown\Render\HTML());
echo $sd->render("# Hello World");
// <h1>Hello World</h1>
````
[Man Render sample](https://github.com/chobie/php-sundown/blob/development/examples/Man.php)
php-sundown proposal
--------------------------------------------------------------
name: sundown
url: https://github.com/chobie/php-sundown
LICENSE: PHP License
Category: Text
well, I couldn't write any C programming before attempting to write
php extension.
so probably there are some weird codes. i'd appreciate if you could help me...
Regards,
Shuhei Tanuma