Enable Selection and Copying of Inline Code Blocks in Textual Markdown #5978
diegointel
started this conversation in
General
Replies: 1 comment 1 reply
-
Try main |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Textual Team,
I am currently using the Textual library in Python to display markdown content in the terminal. While I can select and copy regular text from the terminal, I've encountered an issue with inline code blocks. These blocks cannot be selected or copied, which limits the usability of the markdown content when it includes code snippets.
Steps to Reproduce:
Use the Textual library to render markdown content in the terminal.
Attempt to select and copy text from an inline code block.
Expected Behavior: I should be able to select and copy text from inline code blocks just like any other text in the markdown content.
Actual Behavior: Inline code blocks are not selectable, and their content cannot be copied.
Request: Could you please provide guidance on how to enable selection for inline code blocks or consider this as an improvement for future releases? This feature would greatly enhance the usability of the library for developers who frequently work with code snippets.
Thank you for your attention to this matter. I look forward to your guidance or any updates regarding this feature.
Best regards,
Diego
Beta Was this translation helpful? Give feedback.
All reactions