question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adding superfences removes copy to clipboard

See original GitHub issue

Hello 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:closed
  • Created 4 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
facelessusercommented, Jan 30, 2020

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.

0reactions
squidfunkcommented, Feb 8, 2020

Fixed as of 4.6.1., as Markdown 3.2 now outputs pre > code syntax which matches the selectors.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found