Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fix) YAML front matter must be the top of the file #12

Closed
nobiot opened this issue May 23, 2020 · 0 comments
Closed

(fix) YAML front matter must be the top of the file #12

nobiot opened this issue May 23, 2020 · 0 comments

Comments

@nobiot
Copy link
Owner

nobiot commented May 23, 2020

At the moment, YAML front matter can be placed anywhere in the buffer, and md-roam will pick up the title, etc. from it.

This is not good.

Pandoc document specifies the front matter is at the top of a file:

A YAML metadata block is a valid YAML object, delimited by a line of three hyphens (---) at the top and a line of three hyphens (---) or three dots (...) at the bottom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant