class Kramdown::Converter::Latex
def latex_link_target(el, add_label = false)
defined, or +nil+ otherwise. If the parameter +add_label+ is +true+, a \label
Return a string containing a valid \hypertarget command if the element has an ID
def latex_link_target(el, add_label = false) if (id = el.attr['id']) "\\hypertarget{#{id}}{}" << (add_label ? "\\label{#{id}}" : '') else nil end end