Unable to parse certain url's as link in react-markdown #578
-
using react markdown with gfm plugin, gfm plugin is unable to identify it as link
even tried
still the URL gets rendered as text and not as link |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@nikhil19kekan this is the expected behavior, from the GFM spec https://github.github.com/gfm/#valid-domain
the example link you provided http://azure/webapp/index?view=tev&cio=TEV does not include any periods, so autolinking will not see it as a valid link. To make it a link, consider using <http://azure/webapp/index?view=tev&cio=TEV> |
Beta Was this translation helpful? Give feedback.
-
we want to maintain consistency among url's. so will it work if all url's are enclosed in "<" and ">" tag? |
Beta Was this translation helpful? Give feedback.
@nikhil19kekan this is the expected behavior, from the GFM spec https://github.github.com/gfm/#valid-domain
the example link you provided
http://azure/webapp/index?view=tev&cio=TEV
does not include any periods, so autolinking will not see it as a valid link.
To make it a link, consider using