class Github::Client::Markdown

def render_raw(*args)


"accept": "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 = arguments(args).params
  mime_type, params['data'] = params['mime'], args.shift
  params['raw'] = true
  params['accept'] = params.fetch('accept') { 'text/plain' }
  post_request("markdown/raw", params)
end