friendica/library/markdown.php

9 lines
153 B
PHP
Raw Normal View History

2011-04-11 14:59:26 +02:00
<?php
require_once("library/parsedown/Parsedown.php");
2011-04-11 14:59:26 +02:00
function Markdown($text) {
$Parsedown = new Parsedown();
return($Parsedown->text($text));
2011-04-11 14:59:26 +02:00
}
?>