### Bug description

If exporting to PDF or previewing the markdown document, the following snippet works great and as expected 
```
The maximum entropy method is equivalent to least-squares fitting the available time series data to an autoregressive model:
\begin{equation}
X_t=\sum_{k=1}^M \alpha_k X_{t-k}+\epsilon_k
\end{equation}
```
However, if I export this to `.docx`, it does not seem to export the block style equation above. In order to do so, one must enclose the `equation` environment with the `$$` delimiters, i.e. 
```
The maximum entropy method is equivalent to least-squares fitting the available time series data to an autoregressive model:
$$
\begin{equation}
X_t=\sum_{k=1}^M \alpha_k X_{t-k}+\epsilon_k
\end{equation}
$$
```
While this works great for exporting to .docx, it now breaks exporting to pdf since `xelatex` complains about the `$$` delimiters being used in a block env. 

Is there a simple fix to this?

My version: 
```
quarto --version
1.2.280
```

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
2023-03-09T20:28:08Z
affans
enhancement lint
Future
open
Bug in block-style latex if exporting to docx
https://github.com/quarto-dev/quarto-cli/issues/4740