class Kramdown::Converter::Latex

def escape(str)

Escape the special LaTeX characters in the string +str+.
def escape(str)
  str.gsub(ESCAPE_RE) {|m| ESCAPE_MAP[m]}
end