2 years ago

#63119

test-img

Hilary Miller

Converting from latex to markdown with pandoc, images not converted

I'm trying to convert a latex file to markdown using Pandoc. The latex file contains linked images, for example like this:

\begin{figure}[htbp]
\begin{center}
\leavevmode
\scalebox{0.4}{\includegraphics{microsatsFigures/Figure_traceView.png}}
\end{center}
\caption{The Traces view}
\label{traces}
\end{figure}

However in the markdown file all I get is

::: center
:::

Is this a known limitation of Pandoc, or is there some command I'm missing that will convert the image instructions? The command I used in pandoc was just the standard format:

pandoc -f latex -t markdown Inputfile.tex -o Outputfile.md

latex

markdown

pandoc

0 Answers

Your Answer

Accepted video resources