Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add button on GitHub's source code page #1

Open
zenorocha opened this issue Apr 16, 2017 · 2 comments
Open

Add button on GitHub's source code page #1

zenorocha opened this issue Apr 16, 2017 · 2 comments

Comments

@zenorocha
Copy link
Owner

screen shot 2017-04-15 at 6 25 53 pm

@Naramsim
Copy link

Naramsim commented May 2, 2017

Since we don't actually have a plain code here, we could fetch the file from Rawgit API and copy it to the user clipboard.

Like: https://rawgit.com/zenorocha/codecopy/master/src/styles/main.scss

@FranklinYu
Copy link

RawGit is dead. GitHub actually provide the raw file link itself, no API needed: https://github.com/zenorocha/codecopy/raw/master/src/styles/main.scss. This has the benefit that the extension doesn’t require new domain permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants