/** * @inheritDoc */ protected function inlineMarkers() { $markers = ['http' => 'parseUrl', 'ftp' => 'parseUrl', '~~' => 'parseStrike']; if ($this->enableNewlines) { $markers["\n"] = 'parseDirectNewline'; } return array_merge(parent::inlineMarkers(), $markers); }