class Kramdown::Converter::Pdf
def convert(el, opts = {})
A PDF destination is also added at the current location if th element has an ID or if the
Invoke the special rendering method for the given element +el+.
def convert(el, opts = {}) id = el.attr['id'] id = generate_id(el.options[:raw_text]) if !id && @options[:auto_ids] && el.type == :header if !id.to_s.empty? && !@dests.has_key?(id) @pdf.add_dest(id, @pdf.dest_xyz(0, @pdf.y)) @dests[id] = @pdf.dest_xyz(0, @pdf.y) end send(DISPATCHER_RENDER[el.type], el, opts) end