Skip to content

API To Access VFile Data #566

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

Closed
m13t opened this issue Oct 13, 2023 · 1 comment
Closed

API To Access VFile Data #566

m13t opened this issue Oct 13, 2023 · 1 comment

Comments

@m13t
Copy link

m13t commented Oct 13, 2023

Hi,

I have a use case where I'd like to be able to use additional remark and rehype plugins that populate VFile data for things like extracted summaries. Currently I cannot see a way to provide data into the generated documents beyond what is created by the rendered html and properties that exist within the schema. It seems I could do this in a computed field, but it means essentially running another unified pipeline over the passed in documents raw data, which doesn't seem very efficient.

Would it be possible to have an option in makeSource that would allow specifying a list of properties to be included from the VFile data object in the final generated document?

Copy link

stale bot commented Dec 13, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

1 participant