You are here

protected function Markdown::setup in Express 8

* Called before the transformation process starts to setup parser states. *

Return value

void

2 calls to Markdown::setup()
Markdown::transform in vendor/michelf/php-markdown/Michelf/Markdown.php
* Main function. Performs some preprocessing on the input text and pass * it through the document gamut. * * @api * *
MarkdownExtra::setup in vendor/michelf/php-markdown/Michelf/MarkdownExtra.php
* Setting up Extra-specific variables.
1 method overrides Markdown::setup()
MarkdownExtra::setup in vendor/michelf/php-markdown/Michelf/MarkdownExtra.php
* Setting up Extra-specific variables.

File

vendor/michelf/php-markdown/Michelf/Markdown.php, line 194

Class

Markdown
Markdown Parser Class

Namespace

Michelf

Code

protected function setup() {

  // Clear global hashes.
  $this->urls = $this->predef_urls;
  $this->titles = $this->predef_titles;
  $this->html_hashes = array();
  $this->in_anchor = false;
}