Exporting Org-mode to Quarto

I'm interested in exporting Org-mode documents to Quarto. I thought I could do this through pandoc:

pandoc filename.org -t markdown --o filename.qmd

For code blocks in python, for instance, the output looks like

``` python


``` {.python eval="no"}

which need to be converted to



```{python eval="no"}

I could write a post-text-processing script to handle this but I wonder if there is a more direct way to do this. I tried exporting to other Markdown flavors or using Org-mode's built-in Markdown exporter but they also do not give the correct formatting.

Thank you.

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.