This article is part of a series created in partnership with SiteGround. Thank you for supporting the partners who make SitePoint possible.
Markdown is a fast and efficient way to write content for the web. We sang its praises and listed its benefits in our previous article, How Writers and Bloggers Can Make the Most of Markdown in WordPress This follow-up post is a quick reference of the best plugins that let you use Markdown from within WordPress.
By default, WordPress has no Markdown support. The awesome thing about WordPress is that you can add additional functionality with a plugin. The way these plugins handle Markdown is quite different, so choose carefully—you’ll need one that fits into your workflow and has the features that you need.
If you intend to use a separate Markdown app for writing, and you’re happy to convert your content to HTML before pasting into WordPress, then you won’t need any of these. WordPress will never see Markdown. Alternatively, you can use Markdown QuickTags and convert to HTML from within WordPress.
If you’d prefer to paste your Markdown into WordPress and leave it that way, you’ll need a plugin to render it into HTML on the fly, so it can be displayed in your visitors’ web browsers. Typewriter and Markdown for WordPress and bbPress are good choices. Just don’t deactivate the plugin, or your visitors will just see the Markdown version of the page!
But if you need to work extensively with Markdown within WordPress, then have a look at Jetpack, WP-Markdown and PrettyPress. Out of these, Jetpack is the most widely used and supported, and has the benefit that it not only converts your Markdown to HTML automatically, it also keeps the Markdown version for future editing. On the other hand, if you value a preview pane so you can see how your Markdown will be rendered on the fly, take a look at PrettyPress.
When writing with Markdown, always use the text editor and not the visual editor. You’ll avoid surprises with formatting that way.
Have we missed your favorite Markdown plugin? Let us know in the comments.
1. Jetpack
- Cost: Markdown is available in Jetpack’s free plugin, though paid plans are available with additional themes, security features and support
- Active installs: 3+ million
- Rating: 4.1 out of 5 stars (1,347 reviews)
Jetpack is probably the best way to work with Markdown in WordPress. Unlike many of the other plugins, it is well-supported, widely-used, and uses the Markdown Extra syntax by Michel Fortin which includes additional features like code blocks and tables. And it’s brought to you by Automattic, who bring you WordPress.
You can use Markdown on your Jetpack-powered blog for posts, pages and comments.
Your documents are saved in HTML format so your site will still look OK if the plugin is deactivated, but the Markdown copy is retained for future editing. This gives you the best of both worlds.
The original Markdown text you write will always remain in Markdown, this way you can go back and edit it using Markdown. Only the published document – the post or the page – will be converted. If you write a post in Markdown, it will be published as a fully formatted post on your blog, but when you go back and edit, it’ll still be in Markdown.
If you’re just installing Jetpack for the Markdown features, then have a look at JP Markdown.
Continue reading %6 of the Best Markdown Plugins for WordPress%
by Adrian Try via SitePoint
No comments:
Post a Comment