defaultTransform() public static méthode

#
public static defaultTransform ( $text )
Exemple #1
0
 /**
  * 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);
 }