react-gist icon indicating copy to clipboard operation
react-gist copied to clipboard

Github Gist React component

Results 8 react-gist issues
Sort by recently updated
recently updated
newest added

Please can you support React 18 ? `npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: xxxxxx npm ERR! Found: [email protected]...

Then adding a gist to my react app (created with `create-react-app`), it doesn't work: `MIME type (« application/json ») incorrect (X-Content-Type-Options: nosniff)`

Warning in console `index.js?c760:57 [Violation] Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write`

By adding a title, as an optional parameter to the tag, the Gist component will have better SEO results.

Currently idk of a way to get the file from the url. URLs do not respect capitalization, and the gist url needs the correct capitalization to get the file. So...

Hi @tleunen, thank you for putting out this component! I was wondering about your thoughts on the component accepting a gist url and then parsing information to show relevant gist/file?...

enhancement

Allow react-gist to work with React18