module Openapi3Parser::Markdown

Wrapper around a gem to render markdown, used a single place for options and handling the gem

Public Class Methods

to_html(text) click to toggle source

@param [String] text @return [String]

# File lib/openapi3_parser/markdown.rb, line 11
def self.to_html(text)
  CommonMarker.render_doc(text).to_html
end