Parsedown Importer

Plugin Banner

Parsedown Importer

by foresthoffman

Download
Description

This plugin allows users to import Markdown files into posts. Prior to importing, settings for post status, post type, and post author can be set.

Post status settings:

  1. Draft (default)
  2. Publish
  3. Private

Post type settings:

  1. Post (default)
  2. Page

Post author settings:

  1. Current user (default)
  2. All other users with the ability to edit posts

This plugin utilizes the Parsedown PHP library by Emanuil Rusev, which is mostly compliant with the CommonMark spec. It also extends up the Parsedown library, by allowing:

  • checkboxes; ‘[ ]’, ‘[]’, and ‘[x]’ are translated into unchecked/checked checkbox inputs
  1. Upload parsedown-importer.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Q: Usage

Note: Only accounts with the ability to import will see the ‘Tools’ > ‘Parsedown Import’ sub-menu.

  1. Navigate to the ‘Tools’ > ‘Parsedown Import’ sub-menu
  2. Click the ‘Select Files’ button, and select one or more Markdown (.md, .markdown, or .mdown) files from the prompt
  3. Optionally change the import settings
  4. Click the ‘Import’ button

Installation Instructions

  1. Upload parsedown-importer.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Imported 2500 posts smoothly, thanks a ton!

By fofen on June 25, 2022

This great plugin is very helpful, run smoothly on WP 6.0.

1.0.8

  • Update file type validation to deal with Windows 10 silliness.

1.0.7

  • Update readme and tags.

1.0.5

  • Updated successful import file list header content

1.0.4

  • Updated successful import file list width

1.0.3

  • Removed node_modules from .gitignore

1.0.2

  • Updated readme

1.0.1

  • Updated checkbox regex to allow brackets with no space in between.

1.0.0

  • Updated readme(s) and plugin details.
  • Init repo
Back to top