-
New to unifiedjs. Reading the docs, I see
Sorry, but this isn't really clicking for me. Perhaps someone could give an example of a frozen processor versus a non frozen processor? Why might I freeze (or not freeze) a processor? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Jun 30, 2023
Replies: 1 comment 2 replies
-
Did you click that link? https://github.com/unifiedjs/unified#processorfreeze. That's some more info and a pretty thorough example? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This clones (
()
), then configures (.use(...)
)This tries to configure something that is shared with everyone. If you would be able to configure it, everyone else would also be configured.
The reason is that how you use
rehype
in one place, should not affect how other people, other places, use it!Traversing trees happens somewhere else. This is unrelated to that!