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);
    }