Skip to content

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

Description

@Nova38

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions