React Markdown + react-gfm + react-directive incorrectly processes the time, for example, 18:00. #1458
Unanswered
MikhailTyuftyaev
asked this question in
Q&A
Replies: 1 comment 2 replies
-
This sounds a lot like remarkjs/remark-directive#19 see the answer in remarkjs/remark-directive#19 (comment) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone. I came across such a problem that React Markdown + react-gfm + react-directive incorrectly processes the time, for example, 18:00. He perceives all the characters after the sign : as a new directive. From this I get the error: The tag name provided ('00') is not a valid name. How can this be fixed?
"hastscript": "^9.0.1",
"next": "15.2.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-markdown": "^10.1.0",
"remark-directive": "^4.0.0",
"remark-gfm": "^4.0.1"
Demonstration
https://codesandbox.io/p/devbox/y4fxlv
Beta Was this translation helpful? Give feedback.
All reactions