From: "Benedikt Müller" Date: 2010-02-27T23:43:43+09:00 Subject: Re: Can YARD do this? If I understand you right, haml[1] is the right thing for you! [1]: http://haml-lang.com 2010/2/27 Claus Folke Brobak : > 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/. > > -- Gruß, Benedikt