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

Feature: Add YAML support for 'page' type files (not just for 'datafile' type) #43

Closed
elingerojo opened this issue Jan 4, 2017 · 1 comment

Comments

@elingerojo
Copy link
Member

It will be nice to have single markup files that include its own data objects like frontmatter but letting more complex objects by YAML syntax.

At present, for complex objects you need to use two files, one for the page and one for the data.

A simple approach is to enable html-frontmatter to accept YAML.

  1. Developers get the option to centralize or distribute their data at convenience.
  2. Developers could have markup and context in one autonomous file to move around.

There is a PR ready at html-frontmatter repository

PS:
I am sorry for posting the same issue on two repositories but now I understand that I should have started here not in html-frontmatter (... and after discussion, if needed, move the discussion there).

@elingerojo
Copy link
Member Author

Closed because html-frontmatter deals with Github issues that YAML can not (meaning, this issue was not such a good idea after all 😀 )

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

Successfully merging a pull request may close this issue.

1 participant