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

Keyboard role rendering in static document exports #1676

Open
SuibianP opened this issue Nov 26, 2024 · 0 comments
Open

Keyboard role rendering in static document exports #1676

SuibianP opened this issue Nov 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@SuibianP
Copy link

Description

https://mystmd.org/guide/typography#keyboard-input

tex-renders: Unhandled LaTeX conversion for node of "keyboard"
myst-to-typst: Unhandled Typst conversion for node of "keyboard"
myst-to-jats: Unhandled JATS conversion for node of "keyboard"
Node of type "keyboard" is not supported by docx renderer.

Proposed solution

For HTML, use the kbd tags instead of div for semantic correctness.

For LaTeX, maybe use the keystroke package.

Additional notes

This should be different issues, but since they are related and rather small, I combined these into this single issue.

@SuibianP SuibianP added the bug Something isn't working label Nov 26, 2024
@agoose77 agoose77 changed the title Keyboard role issues Keyboard role rendering in static document exports Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant