How to add simple code to TW

49 views
Skip to first unread message

Auston Bevins

unread,
Aug 16, 2019, 5:45:44 PM8/16/19
to TiddlyWiki
Hi there, 

I have spent some hours trying to find a solution to my problem. As I do not understand a lot of what TW is doing or where the main html is at, I thought I might just ask my question here. 

I would like to add the following simple code to my TW. From my understanding, it will be able to scan any text on the page, and if it matches certain text, will link it appropriately. Here is the website I am grabbing it from RefTagger. If someone could tell me how to add this simple code to my whole TW, I would be incredibly thankful.

Best!

<script>
var refTagger = {
settings: {
bibleVersion: "ESV",
socialSharing: []
}
};
(function(d, t) {
var g = d.createElement(t), s = d.getElementsByTagName(t)[0];
g.src = "//api.reftagger.com/v2/RefTagger.js";
s.parentNode.insertBefore(g, s);
}(document, "script"));
</script>

 
Reply all
Reply to author
Forward
0 new messages