diff --git a/README.md b/README.md index 96dc33c..ee88a1b 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,11 @@ Install for developpers git clone https://github.com/chobie/php-sundown.git php-sundown -b development cd php-sundown - # this command will fetch submodule and copy neccesally files to src dir. and compile it. - rake submodule compile - sudo rake install + git submodule init && git submodule update + phpze + ./configure + make + make install # please add following line to your php.ini # extension=sundown.so @@ -229,6 +231,28 @@ $md = new \Sundown\Markdown(\Sundown\Render\HTML,array("autolink"=>true)); $md->getRender()->setRenderFlags(array("filter_html"=>true)); ```` +### \Sundown\Markdown::setRender(Sundown\Render\Base $render) + +##### *Description* + +set render instance. + +##### *Parameters* + +*render*: render instance + +##### *Return Value* + +* void + +##### *Example* + +````php +true)); +$render2 = \Sundown\Render\HTML(); +$md->setRender($render2); +```` ### \Sundown\Render\Base diff --git a/package.xml b/package.xml index 3113819..4f4430b 100644 --- a/package.xml +++ b/package.xml @@ -15,10 +15,10 @@ PECL Sundown provides straight forward object oriented Markdown API and customiz chobieeee@php.net yes - 2012-04-22 + 2012-05-14 - 0.3.3 - 0.3.0 + 0.3.4 + 0.3.4 beta @@ -26,10 +26,13 @@ PECL Sundown provides straight forward object oriented Markdown API and customiz PHP -bumped up 0.3.3 +bumped up 0.3.4 [summary] - * fix #16 missing space_after_headers extension + * add Sundown\Render\HTML_TOC render. + * add Sundown\Markdown::setRender(Sundown\Render\Base $render); + * improve build script. + * add Changelog, adjust package.xml @@ -120,6 +123,23 @@ bumped up 0.3.3 sundown + + + beta + beta + + + 0.3.3 + 0.3.0 + + 2012-04-22 + +bumped up 0.3.3 + +[summary] + * fix #16 missing space_after_headers extension + + beta @@ -137,7 +157,6 @@ bumped up 0.3.2 * use no_intra_emphasis instead of no_intraemphasis - beta