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

Possibility of having data within document #37

Open
ghost opened this issue Dec 23, 2013 · 1 comment
Open

Possibility of having data within document #37

ghost opened this issue Dec 23, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 23, 2013

Why you don't implement that YAML headers could contain the data of the template. This could be simple, because no external document were needed.

Thanks,

@PeterDavidson
Copy link

This is something that I would be keen for too. I make heavy use of the yaml blocks for markdown->pdf and it would be good to be able to use this for a website as well (with suitable changes to the template). Only allowing variables that would currently go in 'data:' would be useful, but even better would be to allow 'title:', 'template:' etc to be specified in the yaml block. This is the approach used by Jekyll and seems to work well.

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