ruby

https://github.com/ruby/ruby

Ruby

The Ruby Programming Language

RDoc::Parser.use_markup

If there is a <tt>markup: parser_name</tt> comment at the front of the
file, use it to determine the parser.  For example:

  # markup: rdoc
  # Class comment can go here

  class C
  end

The comment should appear as the first line of the +content+.

If the content contains a shebang or editor modeline the comment may
appear on the second or third line.

Any comment style may be used to hide the markup comment.

Source | Google | Stack overflow

Edit

git clone [email protected]:ruby/ruby.git

cd ruby

open lib/rdoc/parser.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-RDoc--Parser-use_markup-for-pr


# Commit to git

git add lib/rdoc/parser.rbgit commit -m "better docs for RDoc::Parser.use_markup"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-RDoc--Parser-use_markup-for-pr

hub pull-request


# Celebrate!