class Kramdown::Converter::Kramdown

def convert_math(el, opts)

def convert_math(el, opts)
  (@stack.last.type == :p && opts[:prev].nil? ? "\\" : '') + "$$#{el.value}$$" + (el.options[:category] == :block ? "\n" : '')
end