Fixing (among other things) alternate header syntax
Fixing (among other things) alternate header syntax

The following works in Docco, but not in Rocco:

    Level 1 Heading
    ===============

    Level 2 Heading
    ---------------

Happily, the fix is trivial.  In Docco, the regex for comments is:

    # Does the line begin with a comment?
    l.comment_matcher = new RegExp('^\\s*' + l.symbol + '\\s?')

Changing Rocco's comment pattern to:

    @comment_pattern = Regexp.new("^\\s*#{@options[:comment_chars]}\s?")

Solves the problem for me.

Billiam/rocco,jxson/rocco,rtomayko/rocco,Billiam/rocco,Billiam/rocco,rtomayko/rocco