You are here

protected function Markdown::runSpanGamut in Markdown 7

* Run span gamut transformations *

Parameters

string $text: * @return string

14 calls to Markdown::runSpanGamut()
Markdown::doItalicsAndBold in includes/Markdown.php
* Convert Markdown italics (emphasis) and bold (strong) to HTML *
Markdown::formParagraphs in includes/Markdown.php
* Parse paragraphs * *
Markdown::_doAnchors_inline_callback in includes/Markdown.php
* Callback method to parse inline anchors *
Markdown::_doAnchors_reference_callback in includes/Markdown.php
* Callback method to parse referenced anchors *
Markdown::_doHeaders_callback_atx in includes/Markdown.php
* ATX header parsing callback *

... See full list

File

includes/Markdown.php, line 617

Class

Markdown
Markdown Parser Class

Namespace

Michelf

Code

protected function runSpanGamut($text) {
  foreach ($this->span_gamut as $method => $priority) {
    $text = $this
      ->{$method}($text);
  }
  return $text;
}