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

feat: allow options as object #3

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

dword-design
Copy link
Contributor

Some libraries like @nuxt/content only allow options of rehype plugins as an object, so this PR allows to also pass an object with a transform property.

@brechtcs brechtcs merged commit 95cb550 into brechtcs:master Jul 18, 2023
@brechtcs
Copy link
Owner

Looks good, thanks! Will prepare a release later.

@brechtcs
Copy link
Owner

Released as v1.2.0

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 this pull request may close these issues.

2 participants