Adding superfences removes copy to clipboard
See original GitHub issueHello there,
When adding the superfences extension:
markdown_extensions:
- pymdownx.superfences
It removes the “copy to clipboard” functionality on all the fences! Is there something to do to prevent this?
Versions:
- python 3.6.5
- Markdown==3.1.1
- mkdocs==1.0.4
- mkdocs-material==4.6.0
- pymdown-extensions==6.2.1
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
"Copy to clipboard failed" when trying to copy in AutoCAD ...
Trying to copy (CTRL-C or CMD-C) objects to the clipboard prompts an error message and no data is added to the clipboard.
Read more >SuperFences - PyMdown Extensions Documentation
The SuperFences extension can be included in Python Markdown by using the ... To avoid accidentally deleting the space and to make your ......
Read more >Copy to Clipboard in Chrome Extension - Stack Overflow
function copyTextToClipboard(text) { //Create a textbox field where we can insert text to. var copyFrom = document.createElement("textarea"); //Set the text ...
Read more >Contributing - MFractor Documentation
In case we add suggestions to your Pull Request we will provide a 3 day ... The tabbed and superfences extensions are part...
Read more >Docs/main.bde7dde4.min.css.map at ...
... svg-load(\"material/content-copy.svg\");\n}\n\n.md-clipboard {\n ... of a tab - remove margin and mirror\n // previous (now deprecated) SuperFences code ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Yeah, I’ll take a look sometime soon. While there have been many improvements and additions to functionality, there are few things that I think have changed to existing setup, but the full separation from Codehilite will be one…one that I’ve been itching to make official.
Fixed as of 4.6.1., as Markdown 3.2 now outputs
pre > codesyntax which matches the selectors.