You are here

interface MarkdownInterface in Express 8

Markdown Parser Interface

Hierarchy

Expanded class hierarchy of MarkdownInterface

All classes that implement MarkdownInterface

File

vendor/michelf/php-markdown/Michelf/MarkdownInterface.php, line 16

Namespace

Michelf
View source
interface MarkdownInterface {

  /**
   * Initialize the parser and return the result of its transform method.
   * This will work fine for derived classes too.
   *
   * @api
   *
   * @param  string $text
   * @return string
   */
  public static function defaultTransform($text);

  /**
   * Main function. Performs some preprocessing on the input text
   * and pass it through the document gamut.
   *
   * @api
   *
   * @param  string $text
   * @return string
   */
  public function transform($text);

}

Members

Namesort descending Modifiers Type Description Overrides
MarkdownInterface::defaultTransform public static function * Initialize the parser and return the result of its transform method. * This will work fine for derived classes too. * * @api * * 1
MarkdownInterface::transform public function * Main function. Performs some preprocessing on the input text * and pass it through the document gamut. * * @api * * 1