Write in Markdown
Use your favorite markdown editor. md2wp handles the conversion to WordPress.
Publish markdown files to WordPress with automatic Gutenberg block conversion and image management
# Install globally
npm install -g @md2wp/cli
# Initialize configuration
md2wp init
# Publish your first post
md2wp publish my-post.md---
title: "My First WordPress Post"
status: draft
tags:
- tutorial
- markdown
---
# Hello WordPress!
This is my **first post** published with md2wp.

- Markdown is converted to Gutenberg blocks
- Images are automatically uploaded
- Links work perfectly
Check out my [website](https://example.com)!After publishing, your markdown file is updated with WordPress details:
---
title: "My First WordPress Post"
wp_post_id: 123
wp_url: https://yoursite.com/my-first-post/
wp_modified: 2024-01-15T10:30:00Z
---Ready to get started? Follow the installation guide โ