Markdown everywhere?

I just read this blog post which explains that Markdown support has been added to all Wordpress.com blogs as a feature.

I administer my own WordPress installation and am currently running (as far as I know) the latest version of WordPress, 3.8.X, I believe. Is Markdown support built into WordPress standalone? I'm in the midst of migration so it's not so easy to check.

Will I be able to write, edit, and allow my users to comment using Markdown fairly seamlessly? Being able to compose posts in Markdown will greatly encourage me to start writing more :)

Topic markdown Wordpress

Category Web


Stephen's plugin above (WP-Markdown) is brilliant for simple posts where conversion to HTML and back will do no harm. Sadly footnotes don't convert both ways very well (if at all).

After much research (and years of use of Markdown on Save Improved), I've switched to Robin Adrianse's Parsedown for WordPress. It makes Markdown available everywhere for both posts and comments. It's a bit tricky for very complex posts as all posts are parsed as Markdown first (HTML is still parsed as HTML is part of Markdown spec) but for comments it works with no issues at all. Either Markdown or HTML comments are supported, transparently. Nothing is permanently converted. Whatever you type in is converted to HTML on display. When you reopen a post, you get the original Markdown.

I recommend switching to plain text editor to avoid any cross-conversion/parsing issues with the TinyMCE editor or more specifically WordPress's own reparsing of text (WP autop filter). There are no performance issues I can see if one is using a caching plugin (who the heck isn't in 2021).

I specify Robin Adrianse's version of Parsedown as there are several other versions which go too far, converting HTML to Markdown permanently. Parsedown for WordPress works fine with WordPress 5.8 and Classic Editor so ignore any version warnings. Robin Adrianse no longer uses WordPress so cannot be bothered keeping up with the never-ending version number changing (real hassle for developers who are mostly volunteers providing open source code).


No, and I'm not aware of any plans to introduce it into WordPress core. That functionality has been added by WordPress.com.

There are numerous plug-ins which add this feature, to name but a few:

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.