lib/yard/templates/helpers/html_helper.rb in yard-0.9.9 vs lib/yard/templates/helpers/html_helper.rb in yard-0.9.10

- old
+ new

@@ -84,9 +84,16 @@ else provider.new(text).to_html end end + # Converts org-mode to HTML + # @param [String] text input org-mode text + # @return [String] output HTML + def html_markup_org(text) + markup_class(:org).new(text).to_html + end + # Converts Asciidoc to HTML # @param [String] text input Asciidoc text # @return [String] output HTML def html_markup_asciidoc(text) markup_class(:asciidoc).render(text)