-
-
Notifications
You must be signed in to change notification settings - Fork 0
Add implementation #1
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome that you created this! Some notes.
- Some docs stuff
- Name?
- Positional info?
Co-authored-by: Titus <tituswormer@gmail.com> Signed-off-by: Remco Haszing <remcohaszing@gmail.com>
Co-authored-by: Titus <tituswormer@gmail.com> Signed-off-by: Remco Haszing <remcohaszing@gmail.com>
This provides a more consistent interface between Node.js and the browser.
I think it looks good. Anything you’d want me to look at specifically? Anything that needs to be discussed? |
I was mostly worried there might be discrepancies between the results in Node.js / the browser regarding fragment / document mode. HTML has so many edge cases 😅. I think it looks good though. At least good enough for my use case. |
The repo may need some settings changes to match the test of the unified ecosystem though. |
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @remcohaszing!
This looks great!
Released in |
Initial checklist
Description of changes
This adds the initial implementation of the package.
The idea comes from syntax-tree/hast-util-from-html#2