then it would be nice if Pandoc understood them, turning something like
\begin{lem}The product of any $4$ consecutive numbers is divisible by
$24$.\end{lem}
into
Lemma. The product of any $4$ consecutive numbers
is divisible by $24$.
[The optional argument in \newtheorem{lem}[theorem]{Lemma} stands for
"number with the same counter as" and can be ignored as Pandoc doesn't
produce numbering. Also note that a "theorem" environment is not defined by
default, so it is not a good idea to special-case
\begin{theorem}...\end{theorem} environments without reading \newtheorem
commands.]
Original issue reported on code.google.com by `shreevat...@gmail.com` on 8 Nov 2008 at 1:10
\newtheorem{theorem}{Theorem} \newtheorem{lem}[theorem]{Lemma} \newtheorem{definition}{Definition} \newtheorem{example}{Example}
\begin{lem}The product of any $4$ consecutive numbers is divisible by $24$.\end{lem}
[The optional argument in \newtheorem{lem}[theorem]{Lemma} stands for "number with the same counter as" and can be ignored as Pandoc doesn't produce numbering. Also note that a "theorem" environment is not defined by default, so it is not a good idea to special-case \begin{theorem}...\end{theorem} environments without reading \newtheorem commands.]