lib/mdoc/writer.rb in mdoc-0.0.8 vs lib/mdoc/writer.rb in mdoc-0.0.9
- old
+ new
@@ -12,7 +12,16 @@
@tilt = Tilt::ERBTemplate.new(doc.tpl_file)
oh = out(doc)
oh.write @tilt.render(doc)
oh.close unless oh == $stdout
end
+
+ def default_processors
+ %w[
+ add_toc
+ add_title
+ smart_code_block
+ expand_link
+ ]
+ end
end
end