The Parsedown Importer plugin allows administrators to import Markdown files into posts and pages. In addition to a helpful interface, the importer provides a series of settings to control how the posts or pages are created.
The source code and download links are available on the WordPress plugin directory.
Post status settings:
- Draft (default)
Post type settings:
- Post (default)
Post author settings:
- Current user (default)
- 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. Lines starting with a maximum of three spaces followed by
'[x]' are translated into unchecked/checked checkbox inputs.
For example, the following table lists the ways that a checkbox in Markdown would be parsed into HTML as a checkbox input.