JSFiddle - React, Tailwind, and code Playground

HTML

<pre id="code">
</pre>

JavaScript

$(function() {
    var url = 'https://api.bitbucket.org/1.0/repositories/retroviz/webformsthemeswitcher/src/tip/.hgignore';

    function jsonpCallback(response){
        $('#code').text(response.data);
    }
    
    $.ajax({
        url: url,
        dataType: 'jsonp',
        error: function(xhr, status, error) {
            alert(error);
        },
        success: function(data) { 
            jsonpCallback(data);
        }
    });
});