2017-04-24 23:39:14 +02:00
|
|
|
```
|
2017-05-25 11:52:09 +02:00
|
|
|
% pandoc -f latex -t html5 --quiet
|
2017-04-24 23:39:14 +02:00
|
|
|
\begin{figure}[ht]
|
|
|
|
\begin{subfigure}{0.45\textwidth}
|
|
|
|
\centering
|
|
|
|
\includegraphics{img1.jpg}
|
|
|
|
\caption{Caption 1}
|
|
|
|
\end{subfigure}
|
|
|
|
|
|
|
|
\begin{subfigure}{0.45\textwidth}
|
|
|
|
\centering
|
|
|
|
\includegraphics{img2.jpg}
|
|
|
|
\caption{Caption 2}
|
|
|
|
\end{subfigure}
|
|
|
|
\caption{Subfigure with Subfloat}
|
|
|
|
\end{figure}
|
|
|
|
^D
|
|
|
|
<figure>
|
2020-07-01 14:44:42 +02:00
|
|
|
<img src="img1.jpg" alt="Caption 1" /><figcaption aria-hidden="true">Caption 1</figcaption>
|
2017-04-24 23:39:14 +02:00
|
|
|
</figure>
|
|
|
|
<figure>
|
2020-07-01 14:44:42 +02:00
|
|
|
<img src="img2.jpg" alt="Caption 2" /><figcaption aria-hidden="true">Caption 2</figcaption>
|
2017-04-24 23:39:14 +02:00
|
|
|
</figure>
|
|
|
|
```
|
|
|
|
```
|
|
|
|
% pandoc -f latex -t html5
|
|
|
|
\begin{figure}[ht]
|
|
|
|
\includegraphics{img1.jpg}
|
|
|
|
\caption{Caption 3}
|
|
|
|
\end{figure}
|
|
|
|
^D
|
|
|
|
<figure>
|
2020-07-01 14:44:42 +02:00
|
|
|
<img src="img1.jpg" alt="Caption 3" /><figcaption aria-hidden="true">Caption 3</figcaption>
|
2017-04-24 23:39:14 +02:00
|
|
|
</figure>
|
|
|
|
```
|