|
|
6 vuotta sitten | |
|---|---|---|
| .. | ||
| 0-load.php | 6 vuotta sitten | |
| README.md | 6 vuotta sitten | |
| extra.php | 6 vuotta sitten | |
| gfm.php | 6 vuotta sitten | |
Contains two libraries:
/extra
MardownExtra_Parser and Markdown_Parser/gfm -- Github Flavored Markdown
WPCom_GHF_Markdown_ParserMarkdownExtra_Parser$use_code_shortcode member variable$shortcode_start and $shortcode_end member variables$preserve_shortcodes member variable will preserve all registered shortcodes untouched. Requires WordPress to be loaded for get_shortcode_regex()$preserve_latex member variable will preserve oldskool $latex yer-latex$ codes untouched.$strip_paras member variable will strip tags because that's what WordPress likes.
WPCom_GHF_Markdown_Parser::__construct() for how the above member variable defaults are set.