How to embed files hosted on Github

@jkshilling sorry it’s a late reply to that thread but it might be helpful for people looking for it in future.

So if your raw link looks like this:

[(https://raw.githubusercontent.com/GitUser/ProjectName/Branch/JS-File.js)]

You can change it to:

[(https://cdn.jsdelivr.net/gh/GitUser/ProjectName@Branch/JS-File.js)]

Hope that helps. Cheers

2 Likes