On Stack Overflow, I can use markup for keyboard shortcuts like <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>F2</kbd>
for Ctrl+Alt+F2.
Is something like this also possible in Confluence? If yes, how?
On Stack Overflow, I can use markup for keyboard shortcuts like <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>F2</kbd>
for Ctrl+Alt+F2.
Is something like this also possible in Confluence? If yes, how?
I haven't tried it yet, but it seems the free official plugin Markdown Macro for Confluence will help you to use any Markdown syntax.
Two solutions found on Atlassian's forums:
The first is to
Paste table row
<kbd>⌘</kbd>+<kbd>Shift</kbd>+<kbd>V</kbd>
in the Confluence's shortcuts
The second is to add your own CSS to the page, which is not ideal:
This is done with a combination of CSS and HTML.
Start with a CSS macro (or edit the Look and Feel):
kbd > kbd { box-shadow: 0 1px 0 rgba(0,0,0,.2); border-radius: 3px; padding: .1em .7em; border: 1px solid #ccc; font-family: Arial, sans-serif; background-color: ; display: inline-block; margin: 0 .1em; white-space: nowrap; font-size: 1em; }
Then wrap the key letters and words in HTML:
<kbd><kbd>K</kbd></kbd>
© 2022 - 2024 — McMap. All rights reserved.