mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2024-06-04 23:12:14 +02:00
15 lines
261 B
PHP
15 lines
261 B
PHP
<?php
|
|
|
|
namespace Knp\Bundle\MarkdownBundle;
|
|
|
|
interface MarkdownParserInterface
|
|
{
|
|
/**
|
|
* Converts text to html using markdown rules
|
|
*
|
|
* @param string $text plain text
|
|
* @return string rendered html
|
|
*/
|
|
function transform($text);
|
|
}
|