Highlighting specific lines clipboard #3359
-
Hi everyone, Using the copy-to-clipboard on code blocks with highlighted lines, extra lines are being added when pasted. Using the highlighting specific lines Result as an example. The copy-to-clipboard produces extra lines when pasted: Produces:
Current markdown_extensions:
- admonition
- attr_list
- meta
- pymdownx.details
- pymdownx.highlight:
linenums: true
- pymdownx.inlinehilite
- pymdownx.magiclink:
repo_url_shortener: true
- pymdownx.tabbed:
alternate_style: true
- pymdownx.superfences Adding the following CSS is a workaround to get around this but not ideal: .highlight .hll {
display: inline;
} Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thanks for reporting. I'll see if we can improve the behavior. Converting to issue. |
Beta Was this translation helpful? Give feedback.
-
The issue was fixed in 8.1.3. |
Beta Was this translation helpful? Give feedback.
The issue was fixed in 8.1.3.