class Kramdown::Converter::Pdf

def with_block_padding(el, opts)

The :top_padding and :bottom_padding options are used for determinig the padding amount.

Move the prawn document cursor down before and/or after yielding the given block.
def with_block_padding(el, opts)
  @pdf.move_down(opts[:top_padding]) if opts.has_key?(:top_padding)
  yield
  @pdf.move_down(opts[:bottom_padding]) if opts.has_key?(:bottom_padding)
end