def element_linenumber(element)
      element = element.options if element.is_a?(Kramdown::Element)
      element[:location]
    end
def element_linenumber(element)
      element = element.options if element.is_a?(Kramdown::Element)
      element[:location]
    end
Returns the line number a given element is located on in the source
 file. You can pass in either an element object or an options hash here.