git.iko.soy/typeable/pandoc
on 4bfcbbf help sign in
37 lines 800 B history raw
1```
2% pandoc -f latex -t html5 --quiet
3\begin{figure}[ht]
4 \begin{subfigure}{0.45\textwidth}
5 \centering
6 \includegraphics{img1.jpg}
7 \caption{Caption 1}
8 \end{subfigure}
10 \begin{subfigure}{0.45\textwidth}
11 \centering
12 \includegraphics{img2.jpg}
13 \caption{Caption 2}
14 \end{subfigure}
15 \caption{Subfigure with Subfloat}
16\end{figure}
17^D
19<figure>
20<img src="img1.jpg" alt="Caption 1" /><figcaption>Caption 1</figcaption>
21</figure>
23<figure>
24<img src="img2.jpg" alt="Caption 2" /><figcaption>Caption 2</figcaption>
25</figure>
26```
27```
28% pandoc -f latex -t html5
29\begin{figure}[ht]
30 \includegraphics{img1.jpg}
31 \caption{Caption 3}
32\end{figure}
33^D
34<figure>
35<img src="img1.jpg" alt="Caption 3" /><figcaption>Caption 3</figcaption>
36</figure>
37```