Closed filipekiss closed 3 years ago
I'll try picking this up soon.
It might be an edge case, but do we also want to keep link cards in situations when there are links in a tweet that also happens to have a code block?
Yeah, that's actually the main concern. My idea was to detect links that come from inside the code blocks and remove the related cards. If there are links outside the code block, keep'em.
Closing as this extension is now deprecated: https://github.com/sindresorhus/refined-twitter/commit/8dd9df749d3a4e82c95b2bd6628c8d65f0f72e6c
The links rendered from code blocks should be detected and removed from tweet cards.
Basically turn this:
Into this: