GitHub-Flavored Markdown Comments GitHub-Flavored Markdown Comments

GitHub-Flavored Markdown Comments

Created by: Evan Solomon

Rating:
Downloaded: 2k times

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).

Categories

Get New Themes & Resources