Module: GitHub::Client::Markdown
- Included in:
- GitHub::Client
- Defined in:
- lib/github_api_v3/client/markdown.rb
Overview
Contains methods for the Markdown API.
Instance Method Summary collapse
-
#markdown(text, options = {mode: 'markdown'}) ⇒ String
Render a markdown document.
Instance Method Details
#markdown(text, options = {mode: 'markdown'}) ⇒ String
Render a markdown document.
21 22 23 24 |
# File 'lib/github_api_v3/client/markdown.rb', line 21 def markdown(text, ={mode: 'markdown'}) .merge!(text: text) post "/markdown", body: end |