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

Add option for Talon lists to be displayed as keyboard html elements #187

Open
Nova38 opened this issue Nov 5, 2024 · 0 comments
Open

Comments

@Nova38
Copy link
Contributor

Nova38 commented Nov 5, 2024

Currently the only option to render talon list appears to be in tables with quotations around the text representation of them. This works great if the list contains words but it adds a lot of visual noise to the output when it is a list of characters. My proposed solution is to add an option that lets a list render itself as a kbd html elements instead of the literal character.

An additional option could also be to have an auto model where if it meets some conditions, such as it being a single letter or matching one of the valid arguments to the key_action( https://talon.wiki/Customization/Talon%20Library%20Reference/key_action)

https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#role-kbd

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd

https://shibuya.lepture.com/writing/markup/#keyboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant