pandoc-3.10.1: test/command/982.md
```
% pandoc -f latex -t native
\newcommand{\BEQ}{\begin{equation}}
\newcommand{\EEQ}{\end{equation}}
\BEQ
y=x^2
\EEQ
^D
[ Para
[ Math
DisplayMath "\\begin{equation}\ny=x^2\n\\end{equation}"
]
]
```