lib/markdown/wrapper.rb in markdown-0.5.0.beta1 vs lib/markdown/wrapper.rb in markdown-1.0.0
- old
+ new
@@ -46,9 +46,16 @@
@@config = Config.new
end
@@config.markdown_filters
end
+ def self.dump # dump settings for debug/verbose flag
+ if @@config.nil?
+ @@config = Config.new
+ end
+ @@config.dump
+ end
+
def self.new( content, options={} )
## todo: allow options to pass in
## lets you change markdown engine/converter for every call
\ No newline at end of file