Sha256: 9ab57f1612c63d56164f569e6f244f7c5c75f0253a865b6df4b54adb44967ca4
Contents?: true
Size: 300 Bytes
Versions: 3
Compression:
Stored size: 300 Bytes
Contents
class String # Converts the string using RDoc def rdoc nanoc_require 'rdoc/markup/simple_markup' nanoc_require 'rdoc/markup/simple_markup/to_html' SM::SimpleMarkup.new.convert(self, SM::ToHtml.new) end end register_filter 'rdoc' do |page, pages, config| page.content.rdoc end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nanoc-1.6 | lib/nanoc/filters/rdoc_filter.rb |
nanoc-1.6.2 | lib/nanoc/filters/rdoc_filter.rb |
nanoc-1.6.1 | lib/nanoc/filters/rdoc_filter.rb |