Update mime.rb

Fixed some issues with documentation not treating blocks of comments or code as such.