lasjorg
October 20, 2021, 12:27am
3
Create a new repository .
Upload the file (click the Upload files button) and when done click the file to open it.
You now have to get the raw version. One option is to just append ?raw=true to the end of the URL in the address bar, press enter and copy the URL. Or you can right-click the image and select “Copy image address/location” (menu option depends on the browser) and then paste that into the address bar and copy the URL. The URL for the image should start with raw.githubuserconten…
You can also use an online editor like CodeSandbox which allows you to upload files. That would allow you to use the same relative image paths as you have locally.