I'm using Markdown to create a PDF via xelatex and pandoc. Here's my command line:
pandoc -s combined.markdown --from markdown+table_captions+auto_identifiers --filter mermaid-filter.cmd --pdf-engine=xelatex -o combined.pdf
My document contains the following table:
Table: Groups and Access Rights - Global
Group Name
Type
Config / Func
Default Act
Reqs
Derog
ADC
Haz
Chg
BS
Risks
MMSP Status
CPxxx Risk Managers
\gls{ps}
X
CPxxx Home
(etc)
It's very wide, so I want to render it in landscape.
I've tried using {rotating}, {lscape}, and {pdflscape}, but they all look like this:

Is there any way to make this work? Is it something to do with the order of packages?
markdownenvironment is verbatim, see rotating - How to rotate a table? - TeX - LaTeX Stack Exchange (use\Rotatebox) and How to use markdown in todonotes? - TeX - LaTeX Stack Exchange (use\cprotect). (although those are direct LaTeX instead of pandoc) – user202729 Dec 10 '21 at 11:38