We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be a nice enhancement (low priority) to automatically detect URLs in the markdown and convert them into HTML links <a> elements.
<a>
This example is from: http://ampl-demo.herokuapp.com/dwyl/learn-react
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
/(https?:)*\/\/[\w.\/?&@:%._\+~#=]*\b/g can be used to detect URLs and replace with links. http://regexr.com/3f3bq
/(https?:)*\/\/[\w.\/?&@:%._\+~#=]*\b/g
const text = `[email protected] [email protected] www.demo.com http://foo.co.uk/x http://regexr.com/foo.html?q=bar&baz=new&q=a+b https://mediatemple.net //www.google.com demo.google.com`; let formatedText = text.replace( /((https?:)*\/\/[\w.\/?&@:%._\+~#=]*\b)/gi, '<a href="$1">$1</a>' ); console.log( formatedText );
Currently I think this is being done by remarkable
No branches or pull requests
It would be a nice enhancement (low priority) to automatically detect URLs in the markdown and convert them into HTML links
<a>
elements.This example is from: http://ampl-demo.herokuapp.com/dwyl/learn-react
The text was updated successfully, but these errors were encountered: