Module: Octokit::Client::Markdown
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/octokit/client/markdown.rb |
Overview
Methods for the Markdown
API
Instance Method Summary
-
#markdown(text, options = {}) ⇒ String
Render an arbitrary
Markdown
document.
Instance Method Details
#markdown(text, options = {}) ⇒ String
Render an arbitrary Markdown
document
# File 'lib/octokit/client/markdown.rb', line 18
def markdown(text, = {}) [:text] = text [:repo] = Repository.new( [:repo]) if [:repo] [:accept] = 'application/vnd.github.raw' post 'markdown', end