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

Use hast-util-find-and-replace #1

Open
wooorm opened this issue Jan 23, 2022 · 1 comment
Open

Use hast-util-find-and-replace #1

wooorm opened this issue Jan 23, 2022 · 1 comment

Comments

@wooorm
Copy link

wooorm commented Jan 23, 2022

https://github.com/syntax-tree/hast-util-find-and-replace makes it easier to find patterns and replace them with nodes. And to ignore patterns in certain elements (style, script?)

@nekochan0122
Copy link

nekochan0122 commented May 21, 2024

https://github.com/syntax-tree/hast-util-find-and-replace makes it easier to find patterns and replace them with nodes. And to ignore patterns in certain elements (style, script?)

Hello, I just create a new rehype-twemoji with that library:
https://github.com/nekochan0122/rehype-twemoji

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

No branches or pull requests

2 participants