rehype-parse / stringify: Can sibling nodes be added while in fragment mode? #76
Answered
by
wooorm
AshtarCodes
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Nov 8, 2021
Replies: 1 comment 4 replies
-
Document mode is as if opening a file in a browser. It expects a head, a body, etc. 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? |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
ChristianMurphy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?