使用 pandoc 从 markdown 生成 PDF 时,markdown 将转换为 LaTeX。我正在使用自定义模板来设置我的 PDF 样式。
当我创建图像链接时:

生成以下 LaTeX。
\begin{figure}[htbp]
\centering
\includegraphics{image.png}
\caption{Alt text}
\end{figure}
毫不奇怪,该图像以 PDF 为中心。
如何防止\centering
生成标签?