You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Thanks for reaching out! Because we treat issues as our backlog, we close issues that are questions since they don’t represent a task to be completed.
See our support docs for how and where to ask questions.
Initial checklist
Affected packages and versions
"react-markdown": "^9.0.1", "remark-gfm": "^4.0.0"
Link to runnable example
No response
Steps to reproduce
minimal vite app with react-pdf
pass content to
node: v18.17.0
npm: 9.6.7
Expected behavior
Images adhere to
objectFit: "contain"
Text is rendered
Actual behavior
Images are all tiny
If I remove the
p
component, images adhere toobjectFit: "contain"
, but no text is shownI am curious as to why this is the case.
How can I have images adhere to
img
and notp
Runtime
Other (please specify in steps to reproduce)
Package manager
Other (please specify in steps to reproduce)
OS
Windows
Build and bundle tools
Vite
The text was updated successfully, but these errors were encountered: