public function __construct(array $features = array()) { foreach ($this->features as $name => $enabled) { $this->features[$name] = false; } return parent::__construct($features); }
/** * Transforms markdown syntax to HTML * @param string $markdownText The markdown syntax text * @return string The HTML code */ public function transform($markdownText) { return $this->parser->transform($markdownText); }