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 styling to kbd shortcode keyboard shortcuts in Revealjs presentations #6012

Closed
cderv opened this issue Jun 23, 2023 Discussed in #6009 · 0 comments · Fixed by #10700
Closed

Add styling to kbd shortcode keyboard shortcuts in Revealjs presentations #6012

cderv opened this issue Jun 23, 2023 Discussed in #6009 · 0 comments · Fixed by #10700
Assignees
Labels
enhancement New feature or request revealjs Issues with the revealjs format shortcodes issues related to shortcodes
Milestone

Comments

@cderv
Copy link
Collaborator

cderv commented Jun 23, 2023

kbd styling is among the .scss we need to make available to revealjs as it works for HTML with bootstrap.
Related on that topic to

And also related to other kbd works

Discussed in #6009

Originally posted by c-zippel June 23, 2023

Description

It'd be neat if keyboard shortcuts produced with the kbd shortcode in Reveal presentations were styled similarly to those in HTML documents, with a grey background and outline, rather than as normal slide text.

In HTML:
image

In Reveal:
image

Thank you for considering this feature request!

.qmd for the screenshots
---
format: 
  html: default
  revealjs: 
    output-file: revealjs.html
---

## Keyboard Shortcut

Here's a keyboard shortcut: {{< kbd Ctrl+S >}}

@cderv cderv added enhancement New feature or request revealjs Issues with the revealjs format labels Jun 23, 2023
@cderv cderv added this to the v1.4 milestone Jun 23, 2023
@cderv cderv self-assigned this Jun 23, 2023
@cderv cderv modified the milestones: v1.4, v1.5 Nov 29, 2023
@cscheid cscheid added the shortcodes issues related to shortcodes label Jun 18, 2024
@cscheid cscheid modified the milestones: v1.5, v1.6 Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request revealjs Issues with the revealjs format shortcodes issues related to shortcodes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants