What is the feature that replaces links with page titles called?

When I paste a link into a line of text, like this: Rich link previews with Onebox, Discourse replaces the link with the title of the page.

What is that feature called so I can research it? It it the same technology as Onebox, or is it something separate?

Thanks!

1 Like

I may be wrong but iirc it is called mini onebox.

3 Likes

My guess would be pretty_text: discourse/helpers.rb at d13716286c36fc0c0828a52bfbbf0412265c7fb7 · discourse/discourse · GitHub

but you’re probably right with discourse/inline_oneboxer.rb at main · discourse/discourse · GitHub

I’m currently trying to make something like Wikipedia oneboxing with url encoded section hash work :sweat_smile:

2 Likes