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

bbP Markdown

描述

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' );

屏幕截图

评价

2021 年 5 月 20 日
Amazing! Anyone has been looking for a Markdown editor for the bbPress forums? I've been turning the Internet upside down to get exactly what this plugin does! It works as expected with bbPress, but with the BuddyBoss Platform forums too! You just need to adjust your theme's CSS rules for proper display in the preview tab, otherwise, everything works like I couldn't dare to dream! Thanks for this simple yet essential plugin.
2018 年 12 月 14 日
The plugin works well. I think I will give it a try and use it in my next project.
2018 年 6 月 15 日
Thank you for this well-designed plugin, it works seamlessly with existing bbPress setup. I appreciate the effort and thought put into it, for example, how it integrates techniques from several other related plugins, and how it uninstalls cleanly. One thing I wish it had is a way to apply the same Markdown editor to normal comments as well.
阅读所有3条评价

贡献者及开发者

“bbP Markdown” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“bbP Markdown”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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

  • fixed a few bugs

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

  • initial release