WordPress plugin intelligence profile

WP Gatsby Markdown Exporter

Export WordPress content to Markdown for GatsbyJS.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.3
Current version0.3.3
WordPress coverageTested up to WordPress 5.3
Minimum stackWP 4.6 · PHP 5.6
Directory statusactive
Last directory update16 Jan 20206y ago
Active installations100Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 2 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records WP Gatsby Markdown Exporter version 0.3.3 as active, updated 6y ago and tested up to WordPress 5.3.

Overview

About this plugin

The plugin creates zip files containing posts converted to Markdown. A WP-CLI command exists to handle exporting sites with a large amount of content.

  • Move WordPress content to Gatsby-friendly Markdown.
  • Customize the export! Remap and restructure exported fields.
  • CLI: Avoid PHP timeouts by using the command line with WP-CLI.
  • CLI: Export progress bar (great for large sites)!

>

Reminder: always keep a backup of the WordPress database and files in case your export doesn’t work as expected!

Working with Gatsby

If you’re just getting started with Gatsby, we recommend experimenting with a Markdown based Gatsby starter like Tina Grande. Installation is as easy as:

git

cd tina-starter-grande

yarn install && gatsby develop

Then copy your exported WordPress Markdown into the content directory or point the wp gatsby-markdown-export command at the content directory.

Want to port your WordPress or HTML theme to Gatsby? Checkout Porting an HTML Site to Gatsby for tips.

Command Line Usage

The command line functionality uses WP-CLI to interact with WordPress. WP-CLI is easy to install if you haven’t already.

Once it’s installed, you can export content to a directory like this:

wp gatsby-markdown-export --directory=/example/gatsby-starter/src/content

All CLI arguments are optional.

Option

Description

Default value

--help

get help

--directory=

export output directory

random temp directory

--post_types=

org/reference/classes/wp_query/#post-type-parameters

page,post

--post_status=

org/reference/classes/wp_query/#status-parameters

any

--fields_to_markdown=

fields to convert to Markdown

excerpt

--excluded_front_matter=

fields to exclude from front matter

--post_date_format=

php

c

--upload_dir=

directory in the export to copy WordPress uploads

uploads

--remap_fields=

remap front matter field names, example: find1,replace1;find2,replace2

--fields_to_array=

convert single value front matter fields to arrays

--include_private_fields=

private post meta fields to include (they start with _)

--skip_copy_uploads

flag, skips copying WordPress uploads to the export

--skip_original_images

flag, skips the use of original dimension images

--skip_enforce_charset

flag, skips use of blog_charset for the XML charset

--create_type_directory

flag, creates directories based on post type

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • export
  • gatsby
  • jamstack
  • markdown
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.3

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.3.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.3
Minimum requirementsWordPress 4.6 · PHP 5.6
Update activity16 Jan 20206y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.