From: Claus Folke Brobak Date: 2010-02-27T23:23:09+09:00 Subject: Can YARD do this? RDoc can be used to convert a string, possibly with RDoc "tags", to HTML. Example: require 'rubygems' require 'rdoc/markup/to_html' h = RDoc::Markup::ToHtml.new() puts h.convert('== Section 2') # Output : "

Section 2

" 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 text file. 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 documentation. Claus -- Posted via http://www.ruby-forum.com/.