You can actually embed drawio files directly in Markdown by creating your files as drawio.svg and then linking them in the Markdown, e.g. ![](my_lovely_drawing.drawio.svg). I explain it in this blog post: https://www.pugillum.com/posts/2021_11_28_drawio_in_markdown.... This also works for Marp slides