Method: Octokit::Client::Markdown#markdown
- Defined in:
- lib/octokit/client/markdown.rb
#markdown(text, options = {}) ⇒ String
Render an arbitrary Markdown document
18 19 20 21 22 23 24 |
# 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 |