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

GitHub-Flavored Markdown Comments

描述

Comment forms allow some HTML, this plugin extends that to let users type in Markdown and have it automatically converted to HTML. It also extends Markdown with a couple features made popular by GitHub. Conversion from Markdown to HTML is completely automated and doesn’t require anything on the commenter’s part.

The feature additions from GitHub are:

  • Single linebreaks are treated as new paragraphs
  • Code “fencing” with three backticks (“`)

Two notable features from GitHub’s Markdown implementation are missing:

  • To do lists: Doing these well would require some front end interaction, which I decided is outside the scope of this plugin at least for now
  • Repository autolinking (e.g. comments, issues, etc): These seemed a little too GitHub-specific.

GitHub-Flavored Markdown Comments is developed, unsurprisingly, on GitHub.

屏幕截图

  • Example of pre- and post- converted text (live previews are not (yet) includeded in the plugin).

安装

This plugin doesn’t have any options. Install it, activate it, and it’s on.

Note: GitHub-flavored Markdown Comments required PHP 5.3 or later. If your server has PHP 5.2, this plugin will quickly break your site.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

更新日志

1.0

  • Genesis.