You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These two (old) URLs are not detected as isSingleGist:
https://gist.github.com/fregante/2205329b71218fa2c1d3
https://gist.github.com/fregante/2205329b71218fa2c1d3/d1ebf7d9cfaba4d4596d2ea9174e202479a5f9ad # this is a specific gist revision
This is also detected as isGist, but is actually a /raw/ file, not a gist at all:
isSingleGist
:isGist
, but is actually a /raw/ file, not a gist at all:isSingleGistCode
so that only the code tab is detected.These changes should probably be based on https://github.com/sindresorhus/refined-github/blob/1a9c4f9b/source/features/embed-gist-inline.tsx#L9-L23 and will replace that inline function (which intends to be
isSingleGistCode
, but is more like a more specificisSingleGist
)Go to demo: https://fregante.github.io/github-url-detection/
The text was updated successfully, but these errors were encountered: