You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
The component needs zero width spaces to display empty lines, therefore, to solve your issue, I added an event listener on copy that checks if the action is performed within the component and cleans the spaces from the clipboard.
It has been released in the component v3.6.0 and I also bumped the requirements in the gatsby plugin v3.1.0.
Affected part of DeckDeckGo
This report is about
highlight-code
.Reproduction
Steps to reproduce:
Expected Behavior
The example should be copied verbatim as it was input/written/typed (meaning what was in the code bloc provided to
deckdeckgo
).Actual Behavior
At least on macOS, all newlines have a zero-width space append to them.
Environment
THANK YOU for looking into this! I found a workaround to strip the zero-width spaces, but a proper fix would be helpful if possible.
The text was updated successfully, but these errors were encountered: