Skip to content

rehype-parse / stringify: Can sibling nodes be added while in fragment mode? #76

Answered by wooorm
AshtarCodes asked this question in Q&A
Discussion options

You must be logged in to vote

Document mode is as if opening a file in a browser. It expects a head, a body, etc.
Fragment is, well, not that. When you some HTML that could be in the body or not.

It’s a bit hard to help you with this case because I don’t know what you’re doing. Can you provide more info?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@AshtarCodes
Comment options

@wooorm
Comment options

@AshtarCodes
Comment options

@AshtarCodes
Comment options

Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants