BACK TO DIRECTORY

GitHub-Flavored Markdown Comments

by Evan Solomon

5.0
(1 ratings)

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.

Screenshots

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

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

Plugin Details

Active Installs
10
Total Downloads
2,622
Version
1.0
Requires WP
3.4
Requires PHP
Tested Up To
3.5.2
Added
2013-03-08
Last Updated
2013-03-08 6:48am GMT

Ratings

5
1
4
0
3
0
2
0
1
0