You can edit WordPress posts in HTML using the built-in Code Editor, and for Markdown, you’ll need to install a plugin like Jetpack or WP Githuber MD.
Here’s how to do both:
✍️ Editing WordPress Posts in HTML
WordPress offers a native way to edit posts in HTML through its Code Editor:
- Open the post you want to edit in the WordPress Block Editor (Gutenberg).
- Click the three-dot menu (⋮) in the top-right corner.
- Select “Code Editor” from the dropdown. This switches the view from the visual editor to raw HTML.
- Make your HTML changes directly in the editor.
- Switch back to the Visual Editor if needed by clicking the same menu and selecting “Visual Editor.”
You can also edit individual blocks in HTML:
- Click on a block.
- Click the three-dot menu on the block toolbar.
- Choose “Edit as HTML.”
More details are available in this WPBeginner guide.
📝 Using Markdown in WordPress
WordPress doesn’t support full Markdown out of the box, but you can enable it with plugins:
✅ Recommended Plugins:
- Jetpack: Enable the “Markdown” module under Jetpack settings.
- WP Githuber MD: Offers a full Markdown editor with live preview.
- WP-Markdown: Adds Markdown support to posts, pages, and comments.
Steps to Use Markdown:
- Install and activate a Markdown plugin (e.g., Jetpack).
- Enable Markdown support in the plugin settings.
- Write your post using Markdown syntax (e.g.,
# Heading,**bold**,- list item). - The plugin will automatically convert Markdown to HTML when the post is published.
You can explore more about Markdown integration in WordPress from Elegant Themes and WP Engine.