Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

feat: support lang on the meta #26

Merged
merged 1 commit into from
Oct 28, 2023
Merged

feat: support lang on the meta #26

merged 1 commit into from
Oct 28, 2023

Conversation

ovflowd
Copy link
Contributor

@ovflowd ovflowd commented Oct 27, 2023

Description

This PR simply adds the current language to the pre Node properties. So that other rehype plugins can revisit the tree and do anything they might want to do / exposing the actual language doesn't do harm and should be included by default, imho.

Linked Issues

Additional context

Adding the Language is definitely something that I believe should be part of the pre element.

@ovflowd
Copy link
Contributor Author

ovflowd commented Oct 27, 2023

cc @antfu it'd super appreciate if you could give a look into this 🙇

@antfu antfu changed the title chore: simply support lang on the meta feat: support lang on the meta Oct 28, 2023
@antfu antfu merged commit f0e6bc0 into antfu:main Oct 28, 2023
@ovflowd ovflowd deleted the patch-1 branch October 28, 2023 09:40
This was referenced Oct 30, 2023
@aschultz aschultz mentioned this pull request Nov 12, 2023
5 tasks
antfu added a commit that referenced this pull request Nov 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants