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: meta string support with astro #56

Merged
merged 1 commit into from
Feb 4, 2023
Merged

feat: meta string support with astro #56

merged 1 commit into from
Feb 4, 2023

Conversation

oedotme
Copy link
Contributor

@oedotme oedotme commented Jan 30, 2023

Astro converts data.meta to properties.metastring as the whole data key is removed by rehype-raw. There's a related astro issue here.

The change in this PR is to adjust the meta value to use:

  1. data.meta if found
  2. or properties.metastring if found
  3. or an empty string

@timlrx
Copy link
Owner

timlrx commented Feb 4, 2023

Thanks, looks good to me.

@timlrx timlrx merged commit 9bf1e72 into timlrx:main Feb 4, 2023
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