Raw markdown export

I am currently writing a text, in which I have many {{embeds}}. I would like to export this text (including math) into microsoft word or to latex or to pdf. A very usefull in between step would be to have a “simplified” markdown version of a page, the way it “renders” in logseq. Hence, in which all embeds are “filled in” (and preferably also all excalubur sketches to svg, calc objects to include their results etc). I tried several export tools, but they do not include this. I tried the “export” button, but that does not allow a MD export. Did I miss an option somewhere?