Esempio n. 1
0
 public static function parseMarkdown($file)
 {
     $fh = fopen($file, 'r');
     $content = fread($fh, filesize($file));
     fclose($fh);
     return Markdown::defaultTransform($content);
 }