PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.1
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.1
16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 All 503 releases
jetpack / _inc / lib / markdown / README.md

README.md in Jetpack – WP Security, Backup, Speed, & Growth 16.3-a.1, at _inc/lib/markdown/README.md

20 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 # Markdown parsing library
2
3 Contains two libraries:
4
5 * `/extra`
6 - Gives you `MardownExtra_Parser` and `Markdown_Parser`
7 - Docs at http://michelf.ca/projects/php-markdown/extra/
8
9 * `/gfm` -- Github Flavored Markdown
10 - Gives you `WPCom_GHF_Markdown_Parser`
11 - It has the same interface as `MarkdownExtra_Parser`
12 - Adds support for fenced code blocks: https://help.github.com/articles/creating-and-highlighting-code-blocks/#fenced-code-blocks
13 - By default it replaces them with a code shortcode
14 - You can change this using the `$use_code_shortcode` member variable
15 - You can change the code shortcode wrapping with `$shortcode_start` and `$shortcode_end` member variables
16 - The `$preserve_shortcodes` member variable will preserve all registered shortcodes untouched. Requires WordPress to be loaded for `get_shortcode_regex()`
17 - The `$preserve_latex` member variable will preserve oldskool $latex yer-latex$ codes untouched.
18 - The `$strip_paras` member variable will strip <p> tags because that's what WordPress likes.
19 - See `WPCom_GHF_Markdown_Parser::__construct()` for how the above member variable defaults are set.
20