mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2026-03-14 20:55:51 +01:00
Since flydev has marked his version as deprecated (it was a simple composer port of Michel Fortin's initial project), it seems good to revert the dependency to the stable/continued project.
15 lines
268 B
PHP
15 lines
268 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);
|
|
}
|