class Kramdown::Converter::Latex
def latex_environment(type, el, text)
the method #attribute_list -- the resulting string is appended to both the \\begin and the
Wrap the +text+ inside a LaTeX environment of type +type+. The element +el+ is passed on to
def latex_environment(type, el, text) attrs = attribute_list(el) "\\begin{#{type}}#{latex_link_target(el)}#{attrs}\n#{text.rstrip}\n\\end{#{type}}#{attrs}\n" end