skip frontmatter when opening file #1019
welpdx
started this conversation in
Templates Showcase
Replies: 1 comment 6 replies
|
This looks great. I wonder if there's a way to autocollapse frontmatter? |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Don't you hate it when you've got too much frontmatter that you can see the content that really matters? Don't you hate spending that precious 2 seconds scrolling down each time you open a file?
Well, I've got a solution for you!
A simple Startup Template that changes your cursor location to the end of the yaml after every file opening!
v0.1
Script v0.1:
Demo v0.1:
v0.2 adds scrolling
Script v0.2:
Demo v0.2:
v0.3 added auto fold yaml. Fixed scroll if banner
Script v0.3:
Demo v0.3:
Simply add this to your Startup Templater and see the magic!
~welp
Edit:
All reactions