public renderBlock ( |
||
$block | ||
$inTightList | boolean | |
return | string |
/** * Converts CommonMark to HTML. * * @param string $commonMark * * @return string * * @api */ public function convertToHtml($commonMark) { $documentAST = $this->docParser->parse($commonMark); return $this->htmlRenderer->renderBlock($documentAST); }