You are here

protected function Markdown::runBlockGamut in Express 8

* Run block gamut tranformations. * * We need to escape raw HTML in Markdown source before doing anything * else. This need to be done for each block, and not only at the * begining in the Markdown function since hashed blocks can be part of * list items and could have been indented. Indented blocks would have * been seen as a code block in a previous pass of hashHTMLBlocks. * *

Parameters

string $text: * @return string

4 calls to Markdown::runBlockGamut()
Markdown::_doBlockQuotes_callback in vendor/michelf/php-markdown/Michelf/Markdown.php
* Blockquote parsing callback *
Markdown::_processListItems_callback in vendor/michelf/php-markdown/Michelf/Markdown.php
* List item parsing callback *
MarkdownExtra::appendFootnotes in vendor/michelf/php-markdown/Michelf/MarkdownExtra.php
* Append footnote list to text *
MarkdownExtra::_processDefListItems_callback_dd in vendor/michelf/php-markdown/Michelf/MarkdownExtra.php
* Callback for <dd> elements in definition lists *

File

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

Class

Markdown
Markdown Parser Class

Namespace

Michelf

Code

protected function runBlockGamut($text) {
  $text = $this
    ->hashHTMLBlocks($text);
  return $this
    ->runBasicBlockGamut($text);
}