protected function Markdown::outdent in Express 8
* Remove one level of line-leading tabs or spaces *
Parameters
string $text: * @return string
4 calls to Markdown::outdent()
- Markdown::_doCodeBlocks_callback in vendor/
michelf/ php-markdown/ Michelf/ Markdown.php - * Code block parsing callback *
- Markdown::_processListItems_callback in vendor/
michelf/ php-markdown/ Michelf/ Markdown.php - * List item parsing callback *
- MarkdownExtra::_processDefListItems_callback_dd in vendor/
michelf/ php-markdown/ Michelf/ MarkdownExtra.php - * Callback for <dd> elements in definition lists *
- MarkdownExtra::_stripFootnotes_callback in vendor/
michelf/ php-markdown/ Michelf/ MarkdownExtra.php - * Callback for stripping footnotes *
File
- vendor/
michelf/ php-markdown/ Michelf/ Markdown.php, line 1808
Class
- Markdown
- Markdown Parser Class
Namespace
MichelfCode
protected function outdent($text) {
return preg_replace('/^(\\t|[ ]{1,' . $this->tab_width . '})/m', '', $text);
}