- BUG: Don't exclude
.gp
class by default. This made excluding prompts more automatic, but broke the existing pattern-based prompt exclusion. #188 (@rkdarst) - MAINT: Add Sphinx Extension classifier (#189) #189 (@jdillard)
- DOCS: Improve docs related to text exclusion #187 (@rkdarst)
- ENH: Unselectable text is now also not highlighted when you manually highlight a code cell. Exclude unselectable text from being copied (update) #178 (@rkdarst)
- ENH: After copying, the copybutton will disappear before the icon changes back if you are no longer hovering on the code cell. FIX: Make copybutton remain for a second during success #176 (@choldgraf)
- MAINT: Add support for Python 3.10 #174 (@hugovk)
This release updates the copy button design and behavior to match GitHub's design guide and button behavior. It also directly inserts the SVG instead of linking it via an <img>
tag so that it can be styled more flexibly.
- ENH: Directly add SVG instead of linking via IMG #161 (@choldgraf)
- ENH: Update copybutton image to match GitHub #155 (@choldgraf)
- The Copy Button UI/UX is now inspired from the recent GitHub copy button updates. #133
- Add line continuation matching and "HERE-documents" #126 (@sappelhoff)
- Allow copying empty lines #127 (@amotl)
- ✨ IMPROVE: add a check-mark SVG icon and improve the look of the button
- Add Russian translations #120 (@Nikulinnn)
- Add Simplified Chinese translations #116 (@seisman)
- French translations added #114 (@dbitouze)
- 👌 Improved copy icon (thanks to (@pradyunsg)[https://github.com/pradyunsg])
- 📚 Improved examples of regex settings (thanks to @s-weigand and @edmcdonagh)
- Copy raw regex string to JS template, thanks to @s-weigand.
This fixes the way that the
copybutton_prompt_text
value is injected intocopybutton.js_t
(as discussed in #86). The raw string formatting means that backslashes are now propagated correctly and removes the need for "double escaping". Users will need to update theircopybutton_prompt_text
string accordingly.
- Upgraded lodash from 4.17.15 to 4.17.19