Lines:
1 to 28 of 28
<?php /* class WPCom_GHF_Markdown_Parser */ /* function WPCom_GHF_Markdown_Parser::__construct() – Set environment defaults based on presence of key functions/classes. */ /* function WPCom_GHF_Markdown_Parser::transform() – Overload to specify heading styles only if the hash has space(s) after it. This is actually in keeping with the documentation and eases the semantic overload of the hash character. */ /* function WPCom_GHF_Markdown_Parser::single_line_code_preserve() – Prevents blocks like <code>__this__</code> from turning into <code><strong>this</strong></code> */ /* function WPCom_GHF_Markdown_Parser::do_single_line_code_preserve() – Regex callback for inline code presevation */ /* function WPCom_GHF_Markdown_Parser::codeblock_preserve() – Preserve code block contents by HTML encoding them. Useful before getting to KSES stripping. */ /* function WPCom_GHF_Markdown_Parser::do_codeblock_preserve() – Regex callback for code block preservation. */ /* function WPCom_GHF_Markdown_Parser::codeblock_restore() – Restore previously preserved (i.e. escaped) code block contents. */ /* function WPCom_GHF_Markdown_Parser::do_codeblock_restore() – Regex callback for code block restoration (unescaping). */ /* function WPCom_GHF_Markdown_Parser::latex_preserve() – Called to preserve legacy LaTeX like $latex some-latex-text $ */ /* function WPCom_GHF_Markdown_Parser::shortcode_preserve() – Called to preserve WP shortcodes from being formatted by Markdown in any way. */ /* function WPCom_GHF_Markdown_Parser::do_restore() – Restores any text preserved by $this->hash_block() */ /* function WPCom_GHF_Markdown_Parser::_doRemoveText() – Regex callback for text preservation */ /* function WPCom_GHF_Markdown_Parser::hash_block() – Call this to store a text block for later restoration. */ /* function WPCom_GHF_Markdown_Parser::hash_maker() – Less glamorous than the Keymaker */ /* function WPCom_GHF_Markdown_Parser::unp() – Remove bare <p> elements. <p>s with attributes will be preserved. */ /* function WPCom_GHF_Markdown_Parser::get_shortcode_regex() – A regex of all shortcodes currently registered by the current WordPress installation */ /* function WPCom_GHF_Markdown_Parser::restore_leading_hash() – Since we escape unspaced #Headings, put things back later. */ /* function WPCom_GHF_Markdown_Parser::doFencedCodeBlocks() – Overload to support “`-fenced code blocks for pre-Markdown Extra 1.2.8 https://help.github.com/articles/github-flavored-markdown#fenced-code-blocks */ /* function WPCom_GHF_Markdown_Parser::_doEscapeForHashWithoutSpacing() – Callback for pre-processing start of line hashes to slyly escape headings that don’t have a leading space */ /* function WPCom_GHF_Markdown_Parser::_doFencedCodeBlocks_callback() – Overload to support Viper’s [code] shortcode. Because awesome. */