gatsby-remark-embed-gist icon indicating copy to clipboard operation
gatsby-remark-embed-gist copied to clipboard

Gist embed CSS file is 404'ing

Open joshterrill opened this issue 1 year ago • 0 comments
trafficstars

The current default URL for the gist-embed css: https://github.githubassets.com/assets/gist-embed-b3b573358bfc66d89e1e95dbf8319c09.css is 404'ing. From what I can tell, the new URL is: https://github.githubassets.com/assets/gist-embed-f2e26e2257bd.css however, if there's risk in the future of these hashed files 404'ing again, I'm wondering if the best option to go with is to just include the css in the project as a local file, or as an inline <style /> tag in the header. At least this way, you'd lose the time for the network roundtrip to load and render. Thoughts? I'm happy to submit a PR, just wanted to see what you wanted to do first.

Edit: Another option is to submit the CSS file to a CDN and using the CDN link.

joshterrill avatar May 09 '24 21:05 joshterrill