Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcut to "Show/hide code" #2917

Closed
VivaldoMendes opened this issue May 11, 2024 · 3 comments · Fixed by #2922
Closed

Shortcut to "Show/hide code" #2917

VivaldoMendes opened this issue May 11, 2024 · 3 comments · Fixed by #2922
Labels
accessibility Accessibility improvements of the frontend, like screen reader support and internationalization frontend Concerning the HTML editor

Comments

@VivaldoMendes
Copy link

VivaldoMendes commented May 11, 2024

Hi all,

I use Pluto a lot and I teach two courses with it. In this context, I have to use Markdown extensively. I have a stupid tendinitis that makes using the mouse in repetitive movements quite painful. For people who have this kind of disability, the use of keyboard shortcuts may be precious.

It would be highly beneficial to access the keyboard to hide the written and executed Markdown instead of using the mouse. I searched and found two cases where this issue has been discussed: in this thread and here. @lucio-cornejo's proposal looks very complicated, and this issue was not considered (apparently) in the former thread. In that thread, is the shortcut named as "Fold/unfold cell" intended to do what I am searching for here? Has it been implemented?

Thanks in advance.

@fonsp fonsp added frontend Concerning the HTML editor accessibility Accessibility improvements of the frontend, like screen reader support and internationalization labels May 14, 2024
@fonsp
Copy link
Owner

fonsp commented May 14, 2024

Hey @VivaldoMendes! Currently you need to press Esc, Shift+Tab, Shift+Tab to navigate to the 👁️ and then Enter to click it. That's not super nice!

Do you have a suggestion for a keyboard shortcut? I don't see something useful from the VS Code notebook shortcuts that we can reuse.

@VivaldoMendes
Copy link
Author

Hi @fonsp,

Thanks for the reply. For me, any key combination will do. Some people are very sensitive to the particular combinations that may be used (some may even go to the extreme of developing a proto-theory about it), but not me. As long as we have access to two keys to hide our Markup code, I will be more than happy.

By the way, congrats on this wonderful piece of software. I see some colleagues of mine moaning about not having access to something like Pluto in Python.

@fonsp
Copy link
Owner

fonsp commented May 16, 2024

Thanks for the nice comment! 💛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Accessibility improvements of the frontend, like screen reader support and internationalization frontend Concerning the HTML editor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants