class Kramdown::Converter::Latex
def convert_img(el, opts)
def convert_img(el, opts) if el.attr['src'] =~ /^(https?|ftps?):\/\// @doc.warnings << "Cannot include non-local image" '' elsif !el.options.attr['src'].empty? @doc.conversion_infos[:packages] << 'graphicx' "\\includegraphics{#{el.attr['src']}}" else @doc.warnings << "Cannot include image with empty path" '' end end