Sha256: e4d3f461c304990720a74570aee8a0abd991c9a62424b7709c444d35c512308a
Contents?: true
Size: 338 Bytes
Versions: 14
Compression:
Stored size: 338 Bytes
Contents
# frozen_string_literal: true require "commonmarker" module Openapi3Parser # Wrapper around a gem to render markdown, used a single place for options # and handling the gem module Markdown # @param [String] text # @return [String] def self.to_html(text) CommonMarker.render_doc(text).to_html end end end
Version data entries
14 entries across 14 versions & 2 rubygems