friendica/library/markdown.php

9 lines
153 B
PHP

<?php
require_once("library/parsedown/Parsedown.php");
function Markdown($text) {
$Parsedown = new Parsedown();
return($Parsedown->text($text));
}
?>