# File lib/maruku/output/to_markdown.rb, line 59 def to_md_ol(context) len = (context[:line_length] || DefaultLineLength) - 2 md = "" self.children.each_with_index do |li, i| s = add_tabs(w=wrap(li.children, len-2, context), 1, ' ')+"\n" s[0,4] = "#{i+1}. "[0,4] # puts w.inspect md += s end md + "\n" end