This usecase is supported by the vscode extension Maybe `mume pandoc example.md`, with the configuration done in the header.