Live Preview does not work when a page has YAML frontmatter

Steps to reproduce

  1. Create a new note
  2. Add YAML configs on the top of the note page
  3. Write note

Expected result

When in live preview mode, the note should still be in live preview.

Actual result

The note is in legacy mode

Environment

  • Operating system:
    Linux Popos

Additional information

Actual result: image

After removing the yaml config

Thank you!!

The page is not in legacy mode. Your YAML block is not properly formatted.

Thank you for your reply! Can I ask how is not formatted properly? When I looked at others’ examples, theirs look very much like this one. Should I add quote around the value (text)? Thanks!

attach your markdown file.