public function end()
    {
        if ($this->capturing === false) {
            throw new InvalidTagException(
                "Markdown capturing have not been started."
            );
        }

        $this->capturing = false;

        $text = ob_get_clean();

        return $this->parse($text);
    }
public function end()
    {
        if ($this->capturing === false) {
            throw new InvalidTagException(
                "Markdown capturing have not been started."
            );
        }

        $this->capturing = false;

        $text = ob_get_clean();

        return $this->parse($text);
    }
public function end ( ) { if ( $ this -> capturing === false ) { throw new InvalidTagException ( "Markdown capturing have not been started." ) ; } $ this -> capturing = false ; $ text = ob_get_clean ( ) ; return $ this -> parse ( $ text ) ; }
Stop capturing output, parse the string from markdown to HTML and return
it. Throws an exception if outpout capturing hasn't been started yet.

@throws \Indal\Markdown\Exceptions\InvalidTagException
@return string
Stop capturing output parse the string from markdown to HTML and return it . Throws an exception if outpout capturing hasn t been started yet .