# Decorate topic list with jquery?

**URL:** https://meta.discourse.org/t/decorate-topic-list-with-jquery/53931
**Category:** Development
**Created:** [2016年十二月7日 17:09 UTC](https://meta.discourse.org/t/decorate-topic-list-with-jquery/53931 "2016-12-07T17:09:55Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![jgujgu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jgujgu/32/64012_2.png) [@jgujgu](https://meta.discourse.org/u/jgujgu)
#### Post date: [2016年十二月7日 21:21 UTC](https://meta.discourse.org/t/decorate-topic-list-with-jquery/53931/3 "2016-12-07T21:21:05Z")

</div>

I’m making a plugin that incidentally interacts with [https://meta.discourse.org/t/topic-list-previews/41630](https://meta.discourse.org/t/topic-list-previews/41630).

My end goal is to display these [http://bl.ocks.org/](http://bl.ocks.org/) in a post (which I have working), but I also want to display the thumbnail in the `topic-item`. I overrode `ExcerptParser.rb` methods to allow my custom tag to go through (akin to the `spoiler` class attribute on `div` and `span`). My hope is to grab the data within the allowed `span` tag and render the thumbnail after it uses this data to make an ajax request.

---

_[View the full topic](https://meta.discourse.org/t/decorate-topic-list-with-jquery/53931)._
