Replies: 1 comment 3 replies
-
Welcome @tsykin! 👋
A bug in
I'm not sure I follow your question. |
Beta Was this translation helpful? Give feedback.
-
Welcome @tsykin! 👋
A bug in
I'm not sure I follow your question. |
Beta Was this translation helpful? Give feedback.
-
Hello there. I am working on my Next.js 13 app. I have a section component and want to pass markdown as props to this component.
My goal is to make content of this section completely dynamic, so that I would be able to do smth like this:
or at least something like this:
I am using markdown-to-jsx package to parse Markdown.
It seems to work when markdown is inside the component's file, but when I try to use this component on a page and pass markdown as prop dynamically I am getting an error
"Error: Cannot read properties of undefined (reading 'replace')".
Please, suggest a solution or some other clever way of doing that :)
Beta Was this translation helpful? Give feedback.
All reactions