public function parse($text) { $markup = parent::parse($text); $markup = $this->applyToc($markup); return $markup; }