YAML Syntax Highligh in Live Preview

Use case or problem

I would like to see the front matter (YAML) in live preview (editor view) in the same way it is displayed in reading view so that I can clearly identify what parameters I’ve used in my note.

Proposed solution

Have syntax highlights in the frontmatter when in live preview.

To achieve these results, we could have a setting that is similar to the one already existing.

Current Live Preview:
image

Expected Live Preview:

Current workaround (optional)

  • Utilize the theme Things

Related feature requests (optional)

2 Likes