View Templates: Templates for the preview mode

Proposed solution

In addition to previewing markdown, make front-matter fields, backlinks etc available to a template. This template will be parsed to show the preview. A good analogy is theming in static-site generators.