friendica_2021-01/library/markdown.php

8 lines
153 B
PHP

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