# Reftagger theme component

**URL:** <https://meta.discourse.org/t/reftagger-theme-component/163544>\
**Category:** Theme component\
**Created:** [September 9, 2020, 7:31pm UTC](https://meta.discourse.org/t/reftagger-theme-component/163544 "2020-09-09T19:31:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [September 9, 2020, 7:31pm UTC](https://meta.discourse.org/t/reftagger-theme-component/163544/1 "2020-09-09T19:31:06Z")

</div>

The Reftagger library allows you to convert bible references on your Discourse forum into links with a hover-preview.

By request of @outofthebox we made a theme component based on [this code](https://meta.discourse.org/t/javascript-in-theme-component-only-runs-once/106202/7).

I’ve added a setting that allows you to select the translation you want to use, and the component extends the content security policy to allow for the reftagger library to be included.

Repository [here](https://github.com/communiteq/discourse-tc-reftagger).

---

_[View the full topic](https://meta.discourse.org/t/reftagger-theme-component/163544)._
