I was trying to reply to Google Translate has trouble with this site - #2 by SomeoneElse and wanted my answer to just be the URL rather than whatever that URL expands to.
(interestingly Discourse didnât expand ^^ link)
I was trying to reply to Google Translate has trouble with this site - #2 by SomeoneElse and wanted my answer to just be the URL rather than whatever that URL expands to.
(interestingly Discourse didnât expand ^^ link)
you have to make sure the link is not the only thing in the line.
e.g. https://www.osm.org
That nearly worked - it works for most links, but doesnât work for Discourseâs own links such as in my reply on Could we have a emoji :thumps up: as reaction? - #11 by SomeoneElse where it wasnât the only thing on the line.
And of course in that sentence ^^ too!
I donât see any previews on the messages your are referring to
The URL in the last message was âht tps://community.openstreetmap.org/t/could-we-have-a-emoji-thumps-up-as-reaction/708/11â (deliberately breaking the URL so that Discourse doesnât munge it) but I donât see that - instead I see âCould we have a emoji :thumps up: as reaction? - #11 by SomeoneElse 2â.
I think internal links are âbeautifiedâ if you just drop the url directly, but they are not if linked on a portion of text.
Putting the link in angle brackets also works:
<https://community.openstreetmap.org/t/how-do-i-add-a-link-that-i-dont-want-discourse-to-expand/739>
â https://community.openstreetmap.org/t/how-do-i-add-a-link-that-i-dont-want-discourse-to-expand/739
Exactly. And if you want, you can use the URL as the link text as well as the link target.
[https://community.openstreetmap.org/t/could-we-have-a-emoji-thumps-up-as-reaction/708/11](https://community.openstreetmap.org/t/could-we-have-a-emoji-thumps-up-as-reaction/708/11)
produces:
https://community.openstreetmap.org/t/could-we-have-a-emoji-thumps-up-as-reaction/708/11
Not as short as the angle brackets mentioned by @jleedev, but more intuitive to me because it follows the usual syntax for markdown links. (Works with the âLinkâ button in the graphical user interface as well.)