What is Markdown?
Markdown is plain text formatting syntax created by John Gruber with Aaron Schwartz in 2004. It can be used as an alternative to WYSIWYG editor which convert plain text to HTML text. Markdown syntax is easier to write compare to HTML. You does not need to know HTML in order to use markdown. Although it does not cover all HTML format element but it covered common formatting options.
Basic syntax of Markdown
Markdown help to add format element to plain text on web. Below are few examples of markdown syntax:
Heading: ####heading >
Italic: *emphasized* > emphasized
Bold: **strong** > strong
Link: [Jetpack](https://jetpack.com/) > Jetpack
How to enable markdown in classic editor?
Prerequisite: Install and set up Jetpack
Go to Jetpack > Settings > Writing
Activate ‘Write posts or pages in plain-text Markdown syntax’ in Composing section.
Markdown is now enable for post and page
How to check markdown working?
Go to any post or page in WordPress, use markdown to type in your text and press enter. If the text change to the related format, it is working.
How to enable markdown for comment?
Go to Jetpack > Settings > Discussion
Activate ‘Enable Markdown use for comments’ in Comments section.
Blog visitor can now compose comment using Markdown.
How to use markdown in block editor?
There are 2 ways to use markdown in block editor:
Click + icon at toolbar on top, add Markdown block from Formatting section. You can start to use markdown in WordPress.
Requirements: install and set up Jetpack
Click + icon at toolbar on top, add Markdown block from Jetpack section.
Learn more about What is Jetpack?