Home | History | Annotate | Download | only in PHP-Markdown-Extra-1.2.3

Lines Matching refs:Function

48 ### Standard Function Interface ###
52 function Markdown($text) {
105 function mdwp_MarkdownPost($text) {
142 function mdwp_add_p($text) {
150 function mdwp_strip_p($t) { return preg_replace('{</?p>}i', '', $t); }
152 function mdwp_hide_tags($text) {
156 function mdwp_show_tags($text) {
165 function identify_modifier_markdown() {
181 function smarty_modifier_markdown($text) {
195 function TextileThis($text, $lite='', $encode='') {
201 function TextileRestricted($text, $lite='', $noimage='') {
205 function blockLite($text) { return $text; }
242 function Markdown_Parser() {
244 # Constructor function. Initialize appropriate member variables.
275 function setup() {
288 function teardown() {
299 function transform($text) {
301 # Main function. Performs some preprocessing on the input text
346 function stripLinkDefinitions($text) {
376 function _stripLinkDefinitions_callback($matches) {
384 function hashHTMLBlocks($text) {
521 function _hashHTMLBlocks_callback($matches) {
528 function hashPart($text, $boundary = 'X') {
530 # Called whenever a tag must be hashed when a function insert an atomic
531 # element in the text stream. Passing $text to through this function gives
551 function hashBlock($text) {
553 # Shortcut function for hashPart with block-level boundaries.
572 function runBlockGamut($text) {
578 # begining in the Markdown function since hashed blocks can be part of
586 function runBasicBlockGamut($text) {
603 function doHorizontalRules($text) {
645 function runSpanGamut($text) {
657 function doHardBreaks($text) {
662 function _doHardBreaks_callback($matches) {
667 function doAnchors($text) {
737 function _doAnchors_reference_callback($matches) {
771 function _doAnchors_inline_callback($matches) {
792 function doImages($text) {
847 function _doImages_reference_callback($matches) {
875 function _doImages_inline_callback($matches) {
894 function doHeaders($text) {
924 function _doHeaders_callback_setext($matches) {
933 function _doHeaders_callback_atx($matches) {
940 function doLists($text) {
997 function _doLists_callback($matches) {
1017 function processListItems($list_str, $marker_any_re) {
1063 function _processListItems_callback($matches) {
1088 function doCodeBlocks($text) {
1106 function _doCodeBlocks_callback($matches) {
1120 function makeCodeSpan($code) {
1146 function prepareItalicsAndBold() {
1168 function doItalicsAndBold($text) {
1291 function doBlockQuotes($text) {
1306 function _doBlockQuotes_callback($matches) {
1320 function _doBlockQuotes_callback2($matches) {
1327 function formParagraphs($text) {
1397 function encodeAttribute($text) {
1399 # Encode text for a double-quoted HTML attribute. This function
1408 function encodeAmpsAndAngles($text) {
1429 function doAutoLinks($text) {
1448 function _doAutoLinks_url_callback($matches) {
1453 function _doAutoLinks_email_callback($matches) {
1460 function encodeEmailAddress($addr) {
1484 $r = ($seed * (1 + $key)) % 100; # Pseudo-random function.
1501 function parseSpan($str) {
1557 function handleSpanToken($token, &$str) {
1581 function outdent($text) {
1589 # String length function for detab. `_initDetab` will create a function to
1590 # hanlde UTF-8 if the default function does not exist.
1593 function detab($text) {
1606 function _detab_callback($matches) {
1608 $strlen = $this->utf8_strlen; # strlen function for UTF-8.
1623 function _initDetab() {
1625 # Check for the availability of the function in the `utf8_strlen` property
1626 # (initially `mb_strlen`). If the function is not available, create a
1627 # function that will loosely count the number of UTF-8 characters with a
1637 function unhash($text) {
1644 function _unhash_callback($matches) {
1672 function MarkdownExtra_Parser() {
1674 # Constructor function. Initialize the parser object.
1712 function setup() {
1732 function teardown() {
1764 function hashHTMLBlocks($text) {
1787 function _hashHTMLBlocks_inMarkdown($text, $indent = 0,
2000 # return to the calling function.
2015 function _hashHTMLBlocks_inHTML($text, $hash_method, $md_attr) {
2097 # parent function.
2153 # Get enclosing tag name for the ParseMarkdown function.
2190 function hashClean($text) {
2192 # Called whenever a tag must be hashed when a function insert a "clean" tag
2193 # in $text, it pass through this function and is automaticaly escaped,
2200 function doHeaders($text) {
2240 function _doHeaders_attr($attr) {
2244 function _doHeaders_callback_setext($matches) {
2252 function _doHeaders_callback_atx($matches) {
2260 function doTables($text) {
2321 function _doTable_leadingPipe_callback($matches) {
2331 function _doTable_callback($matches) {
2390 function doDefLists($text) {
2432 function _doDefLists_callback($matches) {
2444 function processDefListItems($list_str) {
2487 function _processDefListItems_callback_dt($matches) {
2496 function _processDefListItems_callback_dd($matches) {
2516 function doFencedCodeBlocks($text) {
2549 function _doFencedCodeBlocks_callback($matches) {
2557 function _doFencedCodeBlocks_newlines($matches) {
2584 function formParagraphs($text) {
2622 function stripFootnotes($text) {
2649 function _stripFootnotes_callback($matches) {
2656 function doFootnotes($text) {
2668 function appendFootnotes($text) {
2725 function _appendFootnotes_callback($matches) {
2763 function stripAbbreviations($text) {
2778 function _stripAbbreviations_callback($matches) {
2789 function doAbbreviations($text) {
2805 function _doAbbreviations_callback($matches) {