Rich Previews Demo Topic
[preview]cat icons[/preview]
Regular internal topic link: Topic100
This topic is used to test topic hover cards and Wikipedia previews.
Internal topic links
- Regular internal topic link: Topic100
- Another internal topic link in inline text: Please also see A Warm Welcome to Spiceworks! for comparison.
- Suggested-style plain link: SIMPLE
Current-topic links
- Current topic self-link: https://dev.story.pub/t/wikipedia-preview-testing
- Current topic self-link with post number: Rich Previews Testing
Fragment links
- Same-topic fragment link: #hover-preview-test-anchor
- Full URL with fragment: Rich Previews Testing
Wikipedia links
- Discourse - Wikipedia
- Ubuntu - Wikipedia
- Cloudflare - Wikipedia
- [preview]this[/preview]
- Inline Wikipedia link in text: Wikipedia article on Hetzner - Wikipedia is useful for testing.
(no icons on auto?)
Non-preview external links
Mixed formatting
Here is a paragraph with an internal topic link Topic 99 and a Wikipedia link Discourse - Wikipedia inside the same sentence.
Here is a list item with punctuation after a Wikipedia link: Ubuntu - Wikipedia.
Final notes
If everything works:
- internal topic links should show topic cards
- current-topic links should be skipped
- fragment links should be skipped
- Wikipedia links should show Wikipedia previews
- unrelated external links should do nothing
Here is a [preview]different topic[/preview]
Internal Topic Links (Topics on This Forum)
Here is [preview]Topic 100[/preview] on this forum.
External Topic Links (Topics on Other Discourse Forums)
[preview]Meta Brand Updates[/preview] from the Discourse Meta Forum
[preview]https://meta.discourse.org/t/updates-to-the-meta-branded-theme-homepage/401100[/preview]
This is an external topic posted over on the Discourse forum at nOObish.me…
HTML Kitchen Sink - Site Features - n👀bish.me
[preview]nOObish![/preview]
This is at meta.discourse.org…
Meta Branded redesign: theme refresh - Site feedback - Discourse Meta