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
I'm using Markdown-it-katex with React and it's rendering beautifully, but I have some issues with console errors popping up due to unrecognized props. For example, when I paste in
$$
\sqrt{4} = 2
$$
into my markdown file, the console reads:
bundle.js:461 Warning: Unknown prop `encoding` on <annotation> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
in annotation
in semantics
in math
in span
in span
in span
in p
in div (created by Post)
in Post (created by PostsViewer)
in div (created by PostsViewer)
in PostsViewer (created by RegularPostsViewerWrapper)
in RegularPostsViewerWrapper (created by Route)
in Route
in Switch
in Router
This happens for other props as well, with more complicated equations. I was wondering whether I would be able to selectively disable attributes within the plugin given some options before React parses the returned HTML. Please let me know!
The text was updated successfully, but these errors were encountered:
Warning: Unknown prop `mathvariant` on <mi> tag.
Warning: Unknown prop `encoding` on <annotation> tag
Warning: Unknown props `scriptlevel`, `displaystyle` on <mstyle> tag
I'm using Markdown-it-katex with React and it's rendering beautifully, but I have some issues with console errors popping up due to unrecognized props. For example, when I paste in
into my markdown file, the console reads:
This happens for other props as well, with more complicated equations. I was wondering whether I would be able to selectively disable attributes within the plugin given some options before React parses the returned HTML. Please let me know!
The text was updated successfully, but these errors were encountered: