When converting markdown to docx latex environments disappear and only the text inside them is retained. Conversion from markdown to pdf works fine.

I am using --filter pandoc-latex-environment. The following is an extract of the .md

---
title: Hi
author: Brover
pandoc-latex-environment:
  df: [definition]
  prop: [proposition]
  proof: [proof]
---

::: {.definition}

A profile of actions $a \in A$ constitute a **Nash Equilibrium** if

$$u_i \left( r_i \left(a_i, a_{-i} \right) \right) \geq u_i \left( r_i \left(a^{\prime}_i, a_{-i} \right) \right)$$

for all agents $i \in N$ and actions $a_i, a_i^{\prime} \in A_i$.

:::

Should I use a different syntax or the filter is not enough?

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/75bf54f4-42e5-4f7e-954b-87a69d8d9057n%40googlegroups.com.