Markdown in WordPress Comments and Posts with WP-Markdown
If there’s one thing nerds like, it’s Markdown, the simplified markup language that converts into HTML. It’s the difference between typing out, for example,
<strong>something</strong> (HTML) and
__something__ (Markdown)—a fair number of characters, especially over a lot of post authoring.
A client who has a very technical site wants Markdown pretty much everywhere, and so I’ve finally been looking into solutions for WordPress. I’m happy to say that WP-Markdown is pretty cool. You turn it on, and select which post types you want to be authoring using Markdown rather than the default editor. For those post types, both the “Text” and “Visual” editors are replaced by a Text-looking editor that expects Markdown. It renders flawlessly into HTML on the front end—I wrote this article using it. It works on comments on the site’s front end, too.
Have a look!
Want More Like This?
Join our mailing list and you'll get weekly WordPress tutorials, plus news and tools from around WordPress. You'll also get a free five-day mini-course about the core concepts in WordPress![mc4wp_form]
Add a comment