Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/delph1/wordpress-markdown-exporter/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A clean and simple WordPress plugin that exports your posts and pages into Markdown (.md) files, neatly packaged into a downloadable ZIP archive.
Features
- Export Options: Choose to export all posts, all pages, or specific IDs.
- Category Filtering: Filter your post exports by specific WordPress categories.
- High-Quality Conversion: Uses
league/html-to-markdownto ensure clean Markdown output, including support for tables and stripping out Gutenberg block comments. - Zero Clutter: The ZIP archive is generated on the fly and immediately deleted from the server after the download completes.
Requirements
- PHP 7.4 or higher
- WordPress 5.0 or higher
- Composer (for installing dependencies)
Installation
-
Download or clone this repository into your WordPress plugins folder:
/wp-content/plugins/wordpress-markdown-exporter/. -
Open your terminal, navigate to the plugin folder, and run Composer to install the required Markdown library:
composer install -
Log in to your WordPress Admin dashboard.
-
Go to Plugins and activate WP Markdown Exporter.
Usage
- In the WordPress admin menu, navigate to Settings -> Markdown Export.
- Select what you want to export (All Posts, All Pages, or Specific IDs).
- (Optional) Select which categories to include if you are exporting posts.
- Click the download button. A ZIP file containing all your formatted .md files will be downloaded to your computer automatically.
License
APGL 3.0