Thanks for this, it works great on Edge
Is it possible with CSS to move the cursor position to below the frontmatter? On page load, the cursor goes to the first line (which contains frontmatter) but given we want it folded it’d be nice to place the cursor below the last line of frontmatter.
Edit: Looks like I might be able to use this solution.