class Github::Markdown

def render_raw(*args)


"mime": "text/plain",
github.markdown.render_raw "Hello github/linguist#1 **cool**, and #1!",
github = Github.new
= Examples

rendered – this is the simplest way to preview a readme online)
Markdown without a repository context (just like a README.md file is
text/plain or text/x-markdown and renders it as plain
The raw API it not JSON-based. It takes a Markdown document as plaintext
= Input

Render a Markdown document in raw mode
def render_raw(*args)
  params = args.extract_options!
  normalize! params
  mime_type, params['data'] = params['mime'], args.shift
  post_request("markdown/raw", params, :raw => true,
                  :headers => {'Content-Type' => mime_type || 'text/plain'})
end