Support code blocks with raw json files within the Git Repo

Hi folks,

I would like to upload raw json files in the Git Repo of my Next Hub in order to be able to change them programmaticaly (via Git) and so as to be able to use the same json files as examples on many pages (API, Embedded etc.)

I’ve created a page with a code block which I modify to set something like that :
{
“type”: “code”,
“data”: {
“$ref”: “./examples/integration-framework/webhooks/protocol-security-headers.json”
},
“config”: {
“mode”: “json”
}
}

This result in those output once published :

If I set a code block like that :
{
“type”: “code”,
“data”: {
“$ref” : “https://api.myjson.com/bins/1gjblz
},
“config”: {
“mode”: “json”
}
}

It works (if urls answer correctly) :

Is my first try suppose to work ?
If not, is there a way not to have to copy X times the same json manually in every page/file the json is supposed to be displayed ?
I really would like not to be obliged to host my json files elsewhere than in Stoplight as those files are only dedicated to the Hub

Thx a lot for your help!

Note that in the Read tab, the loader gif appears, the externally hosted json only appears on Hub’s published version