dontangg/nocco — pull request #7 by dontangg (2011-12-20 23:43:23+00:00)
Title: Translate XML documentation comments into markdown

This pull request addresses issue #5. Rather than just commit it into master, I thought I'd see if anyone has any feedback on this before I merge it in.

I added a property to the `Language` class that is basically a list of regular expressions and replacement strings. I did this because I don't want to infuse this logic with all languages that this could be used for.

I only provided regular expressions for the most commonly used XML tags because I wanted to stay as "quick-and-dirty" as possible. However, if anyone wants to suggest more, I'm open to that. Here is an example of what it does:

**Before:**

///

/// This is a sweet function. You can pass it a `string` and an `int`.
/// For more info, .
///

/// A string parameter
/// An integer
/// A really cool object

**After:**

This is a sweet function. You can pass it a `string` and an `int`. For more info, see `MyFancyClass.MyRegalMethod(string)`.