RDoc can be used to convert a string, possibly with RDoc “tags”, to
h = RDoc::Markup::ToHtml.new()
puts h.convert(’== Section 2’) # Output : “
The string could be the contents of a text file, and this is a
functionality I use very often as a way to generate an HTML file from a
I was wondering if YARD can be used the same way, that is, to generate
HTML from plain text, possibly with RDoc “tags”?
I have not been able to find anything along these lines in the YARD