Max Nikulin <maniku...@gmail.com> writes: > printf '%s\n' '| \(|x|\) | \(|x|\) |' | pandoc -f org -t latex > \begin{longtable}[]{@{}ll@{}} > \toprule > \endhead > \(|x|\) & \(|x|\) \\ > \bottomrule > \end{longtable} > > Likely you would be unhappy if some of you document were exported in a > different way due to change of parsing rules. On the other hand, I do > not have a collection of pitfalls for pandoc.
These edge cases come in pairs: printf '%s\n' '| \(first cell | mid | last\) |' | pandoc -f org -t latex \begin{longtable}[]{@{}l@{}} \toprule\noalign{} \endhead \bottomrule\noalign{} \endlastfoot \(first cell | mid | last\) \\ \end{longtable} -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>