Disable Link Preview


(Richard Mohorovich) #1

Hello,

I’m making a list of links for a specific topic. It’s in the format:


Title
link


However one of the links keeps on showing a preview. I understand if you put a link on its own line it gets a preview. Is there a way to put the link on its own line without a preview showing?


Running Discourse docker image in the environment on Amazon EC2 Container Service
(Vinoth Kannan) #2

Disable Link Preview
https://meta.discourse.org/t/disable-link-preview/47405

Place your URL between ` symbol (which we normally used to wrap codes) like below

**Disable Link Preview**
[`https://meta.discourse.org/t/disable-link-preview/47405`](https://meta.discourse.org/t/disable-link-preview/47405)

But it will not render in normal font. Since system treating this as some programming language code.


(cpradio) #3

Yes, put a space before the link.

So instead of

https://meta.discourse.org/t/disable-link-preview/47405?u=cpradio

Do
Disable Link Preview

 https://meta.discourse.org/t/disable-link-preview/47405?u=cpradio

(Vinoth Kannan) #4

simple & effective solution :+1:


(Richard Mohorovich) #5

Thank you @vinothkannans & @cpradio :smiley:


(Régis Hanol) #6

(Sam Saffron) #7

Also … for the record:

https://meta.discourse.org/t/disable-link-preview/47405

^^^^ no spaces, no special magic.

[https://meta.discourse.org/t/disable-link-preview/47405](https://meta.discourse.org/t/disable-link-preview/47405)

New parser is smart enough not to generate a preview for explicit links…

Another option is

<https://meta.discourse.org/t/disable-link-preview/47405>