module Gitlab::Client::Markdown

def markdown(text, options = {})

Returns:
  • (Gitlab::ObjectifiedHash) - Returns the rendered markdown as response

Options Hash: (**options)
  • :project(optional) (String) -- Use project as a context when creating references using GitLab Flavored Markdown. Authentication is required if a project is not public.
  • :gfm(optional) (Boolean) -- Render text using GitLab Flavored Markdown. Default is false.

Parameters:
  • options (Hash) -- A customizable set of options.
  • text (String) -- The markdown text to render.
def markdown(text, options = {})
  body = { text: text }.merge(options)
  post('/markdown', body: body)
end