Pair the preview view with the editor which created it
Pandoc args
Start trying to detect language by the grammar being used