13 * @param \mdref\Path $path
15 function __construct(Path
$path) {
22 function __toString() {
24 $r = fopen($this->path
->getFullPath(".md"), "r");
25 $md = \MarkdownDocument
::createFromStream($r);
26 $md->compile(\MarkdownDocument
::AUTOLINK | \MarkdownDocument
::TOC
);
27 $html = $md->getHtml();
29 } catch (\Exception
$e) {
30 $html = ExceptionHandler
::html($e);