mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2026-03-14 20:55:51 +01:00
14 lines
265 B
PHP
14 lines
265 B
PHP
<?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);
|
|
}
|