public function render($markdown)
    {
        $ast = $this->docParser->parse($markdown);
        return $this->cliRenderer->renderBlock($ast);
    }
public function render($markdown)
    {
        $ast = $this->docParser->parse($markdown);
        return $this->cliRenderer->renderBlock($ast);
    }
public function render ( $ markdown ) { $ ast = $ this -> docParser -> parse ( $ markdown ) ; return $ this -> cliRenderer -> renderBlock ( $ ast ) ; }
Expects a string of markdown and returns a string which has been formatted for
displaying on the console.

@param string $markdown
@return string
Expects a string of markdown and returns a string which has been formatted for displaying on the console .