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

chore: rename content to body #115

Merged
merged 2 commits into from
Jan 12, 2024
Merged

chore: rename content to body #115

merged 2 commits into from
Jan 12, 2024

Conversation

ignatiusmb
Copy link
Owner

The old returned content from the fs module function makes it seem like it's a special property that will be rendered. Now that marker is passed as one of the arguments of hydrate, users can call marker.render on anything by themselves and it feels more appropriate to indicate that the returned content from parse is the raw untransformed version — its body.

@ignatiusmb ignatiusmb added the breaking Pull requests that is a breaking change label Jan 10, 2024
@ignatiusmb ignatiusmb added this to the v0.6.0 milestone Jan 10, 2024
Copy link

vercel bot commented Jan 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
marqua ✅ Ready (Inspect) Visit Preview Jan 10, 2024 7:02am

@ignatiusmb ignatiusmb merged commit 2166c59 into master Jan 12, 2024
11 checks passed
@ignatiusmb ignatiusmb deleted the content-to-body branch January 12, 2024 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Pull requests that is a breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant