Skip to content

Commit

Permalink
chore: Quarto doesn't like nested kbd, especially with multiple OS. S…
Browse files Browse the repository at this point in the history
…o simplifying until fix
  • Loading branch information
lwjohnst86 committed May 4, 2024
1 parent 1365317 commit 038ccca
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 14 deletions.
19 changes: 19 additions & 0 deletions inst/common/_variables-future.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
keybind:
palette: '{{< kbd linux=Ctrl-Shift-P mac=Cmd-Shift-P win=Ctrl-Shift-P >}}'
git: '{{< kbd linux=Ctrl-Alt-M mac=Ctrl-Option-M win=Ctrl-Alt-M >}} or with the Palette ({{< var keybind.palette >}}, then type "commit")'
chunk: '{{< kbd linux=Ctrl-Alt-I mac=Cmd-Option-I win=Ctrl-Alt-I >}} or with the Palette ({{< var keybind.palette >}}, then type "new chunk")'
restart-r: '{{< kbd linux=Ctrl-Shift-F10 mac=Cmd-Shift-F10 win=Ctrl-Shift-F10 >}} or with the Palette ({{< var keybind.palette >}}, then type "restart")'
source: '{{< kbd linux=Ctrl-Shift-S mac=Cmd-Shift-S win=Ctrl-Shift-S >}} or with the Palette ({{< var keybind.palette >}}, then type "source")'
render: '{{< kbd linux=Ctrl-Shift-K mac=Cmd-Shift-K win=Ctrl-Shift-K >}} or with the Palette ({{< var keybind.palette >}}, then type "render")'
roxygen: '{{< kbd linux=Ctrl-Shift-Alt-R mac=Cmd-Shift-Alt-R win=Ctrl-Shift-Alt-R >}} or with the Palette ({{< var keybind.palette >}}, then type "roxygen comment")'
outline: '{{< kbd linux=Ctrl-Shift-O mac=Cmd-Shift-O win=Ctrl-Shift-O >}} or with the Palette ({{< var keybind.palette >}}, then type "outline")'
styler: 'the Palette ({{< var keybind.palette >}}, then type "style file")'
targets-make: 'the Palette ({{< var keybind.palette >}}, then type "targets run")'
targets-vis: 'the Palette ({{< var keybind.palette >}}, then type "targets visual")'
targets-outdated: 'the Palette ({{< var keybind.palette >}}, then type "targets outdated")'
build-site: '{{< kbd linux=Ctrl-Shift-B mac=Cmd-Shift-B win=Ctrl-Shift-B >}}'
find: '{{< kbd linux=Ctrl-Shift-F mac=Cmd-Shift-F win=Ctrl-Shift-F >}} or with the Palette ({{< var keybind.palette >}}, then type "find files")'
visual-edit: '{{< kbd linux=Ctrl-Shift-F4 mac=Cmd-Shift-F4 win=Ctrl-Shift-F4 >}}'
pipe: '{{< kbd linux=Ctrl-Shift-M mac=Cmd-Shift-M win=Ctrl-Shift-M >}}'
code-section: '{{< kbd linux=Ctrl-Shift-R mac=Cmd-Shift-R win=Ctrl-Shift-R >}} or with the Palette ({{< var keybind.palette >}}, then type "code section")'
run-code: '{{< kbd linux=Ctrl-Enter mac=Cmd-Enter win=Ctrl-Enter >}}'
28 changes: 14 additions & 14 deletions inst/common/_variables.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
keybind:
palette: '{{< kbd linux=Ctrl-Shift-P mac=Cmd-Shift-P win=Ctrl-Shift-P >}}'
git: '{{< kbd linux=Ctrl-Alt-M mac=Ctrl-Option-M win=Ctrl-Alt-M >}} or with the Palette ({{< var keybind.palette >}}, then type "commit")'
chunk: '{{< kbd linux=Ctrl-Alt-I mac=Cmd-Option-I win=Ctrl-Alt-I >}} or with the Palette ({{< var keybind.palette >}}, then type "new chunk")'
restart-r: '{{< kbd linux=Ctrl-Shift-F10 mac=Cmd-Shift-F10 win=Ctrl-Shift-F10 >}} or with the Palette ({{< var keybind.palette >}}, then type "restart")'
source: '{{< kbd linux=Ctrl-Shift-S mac=Cmd-Shift-S win=Ctrl-Shift-S >}} or with the Palette ({{< var keybind.palette >}}, then type "source")'
render: '{{< kbd linux=Ctrl-Shift-K mac=Cmd-Shift-K win=Ctrl-Shift-K >}} or with the Palette ({{< var keybind.palette >}}, then type "render")'
roxygen: '{{< kbd linux=Ctrl-Shift-Alt-R mac=Cmd-Shift-Alt-R win=Ctrl-Shift-Alt-R >}} or with the Palette ({{< var keybind.palette >}}, then type "roxygen comment")'
outline: '{{< kbd linux=Ctrl-Shift-O mac=Cmd-Shift-O win=Ctrl-Shift-O >}} or with the Palette ({{< var keybind.palette >}}, then type "outline")'
palette: '{{< kbd Ctrl-Shift-P >}}'
git: '{{< kbd Ctrl-Alt-M >}} or with the Palette ({{< var keybind.palette >}}, then type "commit")'
chunk: '{{< kbd Ctrl-Alt-I >}} or with the Palette ({{< var keybind.palette >}}, then type "new chunk")'
restart-r: '{{< kbd Ctrl-Shift-F10 >}} or with the Palette ({{< var keybind.palette >}}, then type "restart")'
source: '{{< kbd Ctrl-Shift-S >}} or with the Palette ({{< var keybind.palette >}}, then type "source")'
render: '{{< kbd Ctrl-Shift-K >}} or with the Palette ({{< var keybind.palette >}}, then type "render")'
roxygen: '{{< kbd Ctrl-Shift-Alt-R >}} or with the Palette ({{< var keybind.palette >}}, then type "roxygen comment")'
outline: '{{< kbd Ctrl-Shift-O >}} or with the Palette ({{< var keybind.palette >}}, then type "outline")'
styler: 'the Palette ({{< var keybind.palette >}}, then type "style file")'
targets-make: 'the Palette ({{< var keybind.palette >}}, then type "targets run")'
targets-vis: 'the Palette ({{< var keybind.palette >}}, then type "targets visual")'
targets-outdated: 'the Palette ({{< var keybind.palette >}}, then type "targets outdated")'
build-site: '{{< kbd linux=Ctrl-Shift-B mac=Cmd-Shift-B win=Ctrl-Shift-B >}}'
find: '{{< kbd linux=Ctrl-Shift-F mac=Cmd-Shift-F win=Ctrl-Shift-F >}} or with the Palette ({{< var keybind.palette >}}, then type "find files")'
visual-edit: '{{< kbd linux=Ctrl-Shift-F4 mac=Cmd-Shift-F4 win=Ctrl-Shift-F4 >}}'
pipe: '{{< kbd linux=Ctrl-Shift-M mac=Cmd-Shift-M win=Ctrl-Shift-M >}}'
code-section: '{{< kbd linux=Ctrl-Shift-R mac=Cmd-Shift-R win=Ctrl-Shift-R >}} or with the Palette ({{< var keybind.palette >}}, then type "code section")'
run-code: '{{< kbd linux=Ctrl-Enter mac=Cmd-Enter win=Ctrl-Enter >}}'
build-site: '{{< kbd Ctrl-Shift-B >}}'
find: '{{< kbd Ctrl-Shift-F >}} or with the Palette ({{< var keybind.palette >}}, then type "find files")'
visual-edit: '{{< kbd Ctrl-Shift-F4 >}}'
pipe: '{{< kbd Ctrl-Shift-M >}}'
code-section: '{{< kbd Ctrl-Shift-R >}} or with the Palette ({{< var keybind.palette >}}, then type "code section")'
run-code: '{{< kbd Ctrl-Enter >}}'

0 comments on commit 038ccca

Please sign in to comment.