asmbs/wp-parsedown
Composer 安装命令:
composer require asmbs/wp-parsedown
包简介
Parsedown wrapper for WordPress with a live preview editor
README 文档
README
Parsedown wrapper for WordPress with a live preview editor
This plugin serves two purposes:
- Replaces the classic WP editor with a Markdown editor with live preview (SimpleMDE)
- Forces all content to be rendered through Parsedown, converting saved Markdown content to HTML
This is a fork and a departure from the original friartuck6000/wp-parsedown.
The goal is to allow your site editors to use simplified, clean, familiar formatting.
An [image] shortcode is also included for optional use, as Markdown only allows for crude image insertion. See the docs folder for more information.
Requirements
- PHP 7.2+
- Composer
- "Classic Editor" plugin (if using WP v5+)
Installation
-
Install with Composer:
composer require asmbs/wp-parsedown -
Activate the plugin.
Development
Requirements
- NPM
Getting Started
To install the development dependencies, run:
composer install
npm install
To rebuild the assets, run:
npx webpack
(Requires npx)
统计信息
- 总下载量: 519
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-19