Comments (8)
Here you can find a list of domains where the extension will work on: https://github.com/zenorocha/codecopy/blob/master/dist/manifest.json
The codecopy
module you used is not owned/maintained by this project, it is a community module. I think this is the correct Github repository: https://github.com/Kikobeats/codecopy
from codecopy.
@Glennmen many thanks.
from codecopy.
@zenorocha @Glennmen sorry I missed one point and would like to reopen this issue/question.
I mistook with codecopy.js but the second point is still valid i.e. I am using this add-on https://chrome.google.com/webstore/detail/codecopy/fkbfebkcoelajmhanocgppanfoojcdmg
but could not find any "Copy" button for any snippets on the domain gist.github.com
?
Google Chrome
Version 70.0.3538.110 (Official Build) (64-bit)
macOS Mojave 10.14.1.
from codecopy.
@htr3n Not sure if this issue is still open.
Can you show me an example where the extension is not working on gist.github.com
from codecopy.
@Glennmen sorry, I accidentally clicked on "close issue". I took some screenshots here. Note that the mouse are not in the screenshots but indeed I pointed it to the code (hopefully to activate CodeCopy
)
In both cases, there are no "Copy" button? Or did I do something wrong for gist.github.com? In other domains like github.com or stackoverflow.com, the extension works perfectly ok.
from codecopy.
@htr3n Those are not code blocks so that is why the extension is not adding the Copy button. Not sure if it worked in the past and that Github changed their Gist layout and broke it.
This extension searches for the <pre>
element to add the button to code blocks.
from codecopy.
@Glennmen That's my understanding too, i.e. both the extension and script (in other github repos) look for <pre>
but Gists code is not (Gists are formatted in table). That's why I was a bit puzzled when reading the documentation that the extension works with Gists.
I guess this issue is no longer needed. Thanks
from codecopy.
@htr3n I am not sure if we will want to fix this because adding support for elements other than <pre>
will of course create extra complexity into maintaining this project.
An other extension that might help you (and that I also use) is Refined GitHub
from codecopy.
Related Issues (20)
- use with TiddlyWiki HOT 2
- GitHub Editor Glitch HOT 1
- GitHub Enterprise? HOT 5
- Overflowing the text from Github Repo Card ? HOT 6
- [Bug] Extension breaks up Medium.com code blocks
- Feature Request for Search Engine Samples HOT 2
- show the copy icon always
- Copy button gets outside on Stack Exchange sites
- can not add custom domain
- [BUG] Stopped working on Github.com HOT 11
- [BUG] "Enable CodeCopy on this domain" not available HOT 2
- Different spacing above and below code blocks
- Remove GitHub since it has native support HOT 3
- Add github.io
- Update the firefox extension
- Why has CodeCopy been removed from Chrome Web Store? HOT 7
- Tested this successfully on Edge Browser
- Support for Independent Javascript Library (Not as Browser Extension) HOT 4
- Chrome Extension link - 404 Not Found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codecopy.