Modernize the bundle, add parser implementation choice, and improve doc.

This commit is contained in:
ornicar 2011-04-06 23:35:00 -07:00
commit f04bb4a7e6
8 changed files with 85 additions and 121 deletions

View file

@ -0,0 +1,14 @@
<?php
namespace Knplabs\Bundle\MarkdownBundle;
interface MarkdownParserInterface
{
/**
* Converts text to html using markdown rules
*
* @param string $text plain text
* @return string rendered html
*/
function transform($text);
}