该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Parsedown Importer

描述

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

评价

阅读所有0条评价

贡献者及开发者

「Parsedown Importer」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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