/** * Parses Markdown file for content * * @param string $file The loaded Markdown file as a string * @return string The parsed string as HTML * @codeCoverageIgnore */ protected function parse_content($file) { $content = preg_replace('#/\\*.+?\\*/#s', '', $file); return $this->parser->defaultTransform($content); }
/** * @param string $item * * @return string */ public function convert($item) { return $this->markdown->transform($item); }