Render LaTeX tables in HTML using rmarkwown
问题 I am trying to render the following table in a RMD file: \begin{table}[] \centering \caption{My caption} \label{my-label} \begin{tabular}{|l|} \hline \\ \hline \end{tabular} \end{table} So far no success. Is there any fundamental reason why rmarkdown cannot compile LaTeX enviroments (other than equations) to HTML? 回答1: In a markdown document, the expected input markup language is (r)markdown. You should not expect pandoc to automatically recognize arbitrarily mixed markup languages. LaTeX