Update: v5.6.0-beta.0 is out with its Markdown renderer update:
Now, it allows you to read the YAML frontmatter easily via the preview redux state. So, you don’t parse frontmatters yourself. Check out the new documentation for more detail here:
Note that it currently does not support updating the values.