You are here

function Markdown_Parser::runSpanGamut in Markdown 6

Same name and namespace in other branches
  1. 5 markdown.php \Markdown_Parser::runSpanGamut()
15 calls to Markdown_Parser::runSpanGamut()
MarkdownExtra_Parser::formParagraphs in ./markdown.php
MarkdownExtra_Parser::_doAnchors_inline_callback in ./markdown.php
MarkdownExtra_Parser::_doAnchors_reference_callback in ./markdown.php
MarkdownExtra_Parser::_doHeaders_callback_atx in ./markdown.php
MarkdownExtra_Parser::_doHeaders_callback_setext in ./markdown.php

... See full list

File

./markdown.php, line 665

Class

Markdown_Parser

Code

function runSpanGamut($text) {

  #

  # Run span gamut tranformations.

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