class Kramdown::Converter::Pdf
def render_ol(el, opts)
def render_ol(el, opts) with_block_padding(el, opts) do el.children.each_with_index do |li, index| @pdf.float { @pdf.formatted_text([text_hash("#{index+1}.", opts)]) } @pdf.indent(mm2pt(6)) { convert(li, opts) } end end end