bbP Markdown
开发者 |
mechter
|
更新时间 |
2019年1月10日 00:19 |
捐献地址: |
去捐款 |
PHP版本: |
3.6 及以上 |
WordPress版本: |
5.0 |
版权: |
GPLv3 or later |
版权网址: |
版权信息
|
详情介绍:
This is the Markdown plugin for bbPress that I needed, but could not find. It replaces the standard editor with a responsive Markdown form that includes a preview and formatting help. The Markdown is parsed using PHP Markdown(Extra) and saved as a regular HTML bbPress post. The Markdown is saved separately for later editing. The plugin can be activated and deactivated without affecting your bbPress data, it uninstalls cleanly (deleting any saved Markdown code) and is multisite compatible.
Tip: You can give the plugin a slight performance boost if your forum is Markdown only or you don't care that some non-Markdown posts are displayed slightly different than before (e.g. not turning newlines into paragraphs or no longer making URLs automatically clickable), by adding the following to your theme's functions.php: add_filter( 'bbpmd_remove_output_filters_for_all_posts', '__return_true' );
更新日志:
1.5
- bbpmd_help_content is now an action rather than a filter
- minor code improvements
1.4
- added new filter: bbpmd_help_content
1.3
- brought back the larger margin lost in the previous update
1.2
1.1
- the markdown form can now be loaded multiple times on the same page
- removed a set of standard bbp content output filters that conflicts with the intended markdown output
- added filter to disable bbp content output filter removal
- added filter to selectively disable output filtering for markdown posts only
- changed "Message" to "Write"
- added filters for "Write", "Preview" and "Help"
- added examples for linebreak and paragraph break
- min-height of preview panel is now set dynamically
- cleaned up html output
1.0