function __construct() { parent::__construct(); $this->setMarkupEscaped(true); $this->setBreaksEnabled(false); $this->setUrlsLinked(true); $this->InlineTypes['{'][] = 'ColoredText'; $this->inlineMarkerList .= '{'; $this->InlineTypes['@'] = array('FontAwesome'); $this->inlineMarkerList .= "@"; $this->InlineTypes['\\'][] = 'ManualLineBreak'; array_unshift($this->InlineTypes['\\'], 'ManualLineBreak'); }
/** * ParsedownExtra constructor. * * @param $page * @param $defaults */ public function __construct($page, $defaults) { parent::__construct(); $this->init($page, $defaults); }
function __construct($page) { parent::__construct(); $this->page = $page; }