Stars: 112
Forks: 19
Pull Requests: 14
Issues: 72
Watchers: 14
Last Updated: 2020-12-10 21:51:37
WP-MarkDown plug-in. Allows Markdown to be enabled in posts, comments and bbPress forums.
License:
Languages: JavaScript, CSS, PHP, Shell
Contributors: stephenharris
Donate link: http://www.stephenharris.info
Tags: markdown, formatting,prettify,syntax highlighter,code
Requires at least: 3.1
Tested up to: 4.9.1
Stable tag: 1.6.0
Allows Markdown to be enabled in posts, comments and bbPress forums.
This plugin allows you to write posts (of any post type) using the Markdown syntax. The plugin converts the Markdown into HTML prior to saving the post. When editing a post, the plugin converts it back into Markdown syntax.
The plugin also allows you to enable Markdown in comments and bbPress forums. In these instances the plugin adds a toolbar, and preview of the processed Markdown with Prettify syntax highlighter applied (similiar to that used in the Stack Exchange websites such as WordPress Stack Exchange).
WP-Markdown stores the processed HTML, so deactivating the plugin will not affect your posts, comments or bbPress forums.
Installation is standard and straight forward.
wp-markdown folder (and all its contents) to the /wp-content/plugins/ directory.For information on how to use Markdown syntax, please read: Markdown: syntax.
The plugin uses Markdown to generate the appropriate HTML prior to the post saving to the database. When you edit a post, it is converted back to Markdown syntax. Once the plugin is uninstalled you'll simply revert to editing the posts' HTML.
A clean install of WordPress allows you to (for example) include a YouTube url on a separate line, whereupon it will automatically embed the video. This is not possible with WP-Markdown installed (I tried - I broke more things. But if you manage it, feel free to make a pull-request: https://github.com/stephenharris/WP-MarkDown).
You'll need to use the [embed] shortcode.
Enclose it in a div tag. It'll be ignored.
div tag to be parsed as Markdown?Use <div markdown="1">.
wpmarkdown_help_text.If you have upgraded to 1.1.4, please upgrade to 1.1.5. This release fixes a bug introduced in 1.1.4 (see http://wordpress.org/support/topic/plugin-wp-markdown-breaks-oembed-support)