Skip to content

Comments

Add mode=plain to kbd shortcode (#13489)#14079

Merged
cscheid merged 3 commits intomainfrom
feature/13489
Feb 20, 2026
Merged

Add mode=plain to kbd shortcode (#13489)#14079
cscheid merged 3 commits intomainfrom
feature/13489

Conversation

@cscheid
Copy link
Collaborator

@cscheid cscheid commented Feb 20, 2026

Allow rendering keyboard shortcuts as literal text without OS-specific symbol translation, for teaching/slideshow contexts where shortcuts for multiple OSes need to be shown simultaneously.

Closes #13489.

Allow rendering keyboard shortcuts as literal text without OS-specific
symbol translation, for teaching/slideshow contexts where shortcuts for
multiple OSes need to be shown simultaneously.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cscheid cscheid added this to the v1.9 milestone Feb 20, 2026
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Feb 20, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

cscheid and others added 2 commits February 20, 2026 13:18
Quarto's shortcode system populates kwargs with empty values for
unspecified keys, so check for empty string before validating mode.
Also fix test to use correct ensureFileRegexMatches format (single
array of match patterns).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cscheid cscheid merged commit d36fe54 into main Feb 20, 2026
51 checks passed
@cscheid cscheid deleted the feature/13489 branch February 20, 2026 21:04
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

Successfully merging this pull request may close these issues.

Add ability to disable OS detection in kbd shortcode?

2 participants