Michelf\MarkdownInterface::defaultTransform PHP Method

defaultTransform() public static method

#
public static defaultTransform ( $text )
    public static function defaultTransform($text);

Usage Example

Example #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);
 }