ddb76cb356
If we put an image in italics, then when rendering to Markdown we no longer get an implicit figure. Closes #6925.
454 B
454 B
% pandoc -f latex -t markdown
\documentclass{amsart}
\newtheorem{thm}{Theorem}[section]
\theoremstyle{definition}
\newtheorem{thm2}[section]{Theorem}
\begin{document}
\begin{thm}
a
\begin{figure}
\includegraphics[]{1.png}
\end{figure}
\end{thm}
\begin{thm2}
a
\begin{figure}
\includegraphics[]{1.png}
\end{figure}
\end{thm2}
\end{document}
^D
::: {.thm}
**Theorem 1**. *a*
![image](1.png)
:::
::: {.thm2}
**Theorem 1**. a
![image](1.png)
:::