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

Omit first child of each element #27

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

h-shams
Copy link
Contributor

@h-shams h-shams commented Aug 27, 2024

I have implemented suggested changes based on previous discussions (#26).
I have used the token.level property to detect first child of a block element. Also, I have written a small test in index.test.js.

If any change to the code is needed just let me know.

@h-shams h-shams changed the title omit first child of each element Omit first child of each element Aug 28, 2024
Copy link
Member

@ahangarha ahangarha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works as expected

Thanks for your contribution.

@ahangarha ahangarha merged commit 4dd22bc into dobidi:main Aug 29, 2024
0 of 2 checks passed
@h-shams h-shams deleted the omit-first-element branch August 30, 2024 14:41
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