b9b69d98fb
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. |
||
---|---|---|
.. | ||
rocco | ||
rocco.rb |