Ghostwriter would really be a lot more versatile if one could customize how the preview is created. For instance, I was hoping I could set a resource path or use a custom lua script. There are two basic approaches. First would be to provide a settings fields to enter custom commands. Second is to allow yaml headers for markdown files to be parsed by pandoc.