You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add `mode=plain` to `kbd` shortcode (#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 <[email protected]>
* Fix kbd shortcode handling empty mode kwarg and test format
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 <[email protected]>
---------
Co-authored-by: Claude Opus 4.6 <[email protected]>
Copy file name to clipboardExpand all lines: news/changelog-1.9.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ All changes included in 1.9:
3
3
## Shortcodes
4
4
5
5
- ([#13342](https://github.com/quarto-dev/quarto-cli/issues/13342)): Ensure that the `contents` shortcode works inside metadata.
6
+
- ([#13489](https://github.com/quarto-dev/quarto-cli/issues/13489)): Add `mode=plain` option to the `kbd` shortcode to render keyboard shortcuts exactly as written, without OS-specific symbol translation.
6
7
- ([#14061](https://github.com/quarto-dev/quarto-cli/issues/14061)): Fix `meta` shortcode not preserving line breaks in values. The shortcode now respects its usage context (block, inline, or text) and preserves paragraph breaks in block and code block contexts.
0 commit comments