You can enable WP-Markdown for posts, pages, and customΒ post types. You can also enable Markdown support for comments.
The plugin comes with a menu bar in the editing area, so you can easily add Markdown syntax. If you are new to Markdown, then you should enable the help bar. This will help you learn Markdown syntax quickly.
After enabling Markdown support, click on the save changes button to save your settings.
Using Markdown in WordPress Post Editor
Once you have enabled Markdown support for posts and pages, you can go toΒ Posts Β» Add NewΒ to see it in action.
First thing you will notice is the default WordPress visual and text editors are replaced by the Markdown editor.
The edit screen now shows a live preview of text you type into the editor. On top, you have Markdown help bar which allows you to insert Markdown syntax using buttons. This help bar is useful for new users to get acquainted with the Markdown syntax.
Markdown Syntax Cheat Sheet
Markdown syntax is very simple, but it may take some time to get used to of it. Here is a quick Markdown cheat sheet that you can use as a reference.
Input:
*This is emphasized Text*
Output:
This is emphasized Text
Input:
**This is bold text**
Output:
This is bold text
Input:
#This is Heading 1#
Output:
This is heading 1
Input:
##This is Heading 2##
Output:
This is heading 2
Input:
###This is Heading 3###
Output:
This is heading 3
Input:[WPBeginner](https://www.wpbeginner.com)
Output
WPBeginner
Input
1. Ordered list item 1
2. Ordered list item 2
3. Ordered list item 3
Output
- Ordered list item 1
- Ordered list item 2
- Ordered list item 3
Input
*Unordered list item 1
*Unordered list item 2
*Unordered list item 3
Output
- Unordered list item 1
- Unordered list item 2
- Unordered list item 3
Adding Videos When Using Markdown in WordPress
Normally you can embed any YouTube video by simply pasting the video URL in post editor. This will not work with WP-Markdown enabled. You will need to wrap your video URL intoΒ
</strong> shortcode. Like this:</p> <p><code>https://www.youtube.com/watch?v=qzOOy1tWBCg
We hope this article helped you learn about Markdown and how to use it in WordPress. If you feel Markdown is not what you were looking for, then tryΒ full screen distraction free editorΒ in WordPress.
If you liked this article, then please subscribe to ourΒ YouTube ChannelΒ for WordPress video tutorials. You can also find us onΒ TwitterΒ andΒ Google+.