You are here

function Markdown_Parser::runSpanGamut in Markdown 5

Same name and namespace in other branches
  1. 6 markdown.php \Markdown_Parser::runSpanGamut()
13 calls to Markdown_Parser::runSpanGamut()
MarkdownExtra_Parser::formParagraphs in ./markdown.php
MarkdownExtra_Parser::_doHeaders_callback_atx in ./markdown.php
MarkdownExtra_Parser::_doHeaders_callback_setext in ./markdown.php
MarkdownExtra_Parser::_doTable_callback in ./markdown.php
MarkdownExtra_Parser::_processDefListItems_callback_dd in ./markdown.php

... See full list

File

./markdown.php, line 630

Class

Markdown_Parser

Code

function runSpanGamut($text) {

  #

  # Run span gamut tranformations.

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