#43Auto mark http/https URLs as links
Currently pasting http/https URLs does not produce links:
http://github.com/piero-la-lune/PHP-Markdown-for-comments
You have to manually create the link using the [text](url)
Markdown syntax. I don't know if the original PHP markdown implements this (I think it does), but it would be nice to format words matching http(s)?[^\s].
as links.
Résolu
Ouvert par nodiscc il y a 10 années.
You can use
<http://yourlink.fr>
. It's the default behaviour of PHP Markdown.I think it's better this way (it only adds two characters), because sometimes you don't want to create a link (and it's complicated to match every link, since you also have ftp, ...).
Tell me what you think.
PS : do you know that you can use
#43
to create a link to the issue #43 andproject2#43
to create a link to another project ?I didn't know this, thanks!
Maybe it could be added to #3 ?
Connectez-vous pour poster un commentaire. Pas encore inscrit ? Créez un compte : c'est gratuit et ultra rapide !