Pandoc command to replicate RStudio's Markdown canonicalization

I like and use RStudio’s Markdown canonicalization feature a lot. If I understand correctly, it is implemented by basically sending the document to a Pandoc "round trip" on save (plus some additional, at times buggy special processing, I think).

What I'd like to be able to do is replicate the part of the canonicalization which is done via the Pandoc CLI. Could you provide the exact pandoc command that is used for this?

Thanks in advance.

This topic was automatically closed 21 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.