Confluence keyboard shortcut markup
Asked Answered
G

2

9

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?

Guardi answered 26/6, 2015 at 9:9 Comment(1)
I can't prove this, because of the lack of any evidence, but I am almost 100% certain there is no functionality like this in confluence. The best you could do would be to insert little images of the keyboard shortcuts.Materfamilias
C
0

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.

Chekiang answered 23/7, 2015 at 9:16 Comment(0)
R
-1

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 &gt; 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:

&lt;kbd&gt;&lt;kbd&gt;K&lt;/kbd&gt;&lt;/kbd&gt;

Riverhead answered 6/9, 2018 at 12:32 Comment(2)
No, this is completely wrong and does not answer the question at all. The question is not "how do I paste a random string".Rattle
The first option here is totally wrong, but the second link that is provided has some potentially feasible workarounds. Using the CSS Stylesheet macro (requires a 3rd party plugin) in combination with the HTML macro (It seems it requires also either a 3rd party plugin and/or an admin to enable it for the whole instance). I have request this as a native feature, please vote if you are interested: jira.atlassian.com/browse/CONFSERVER-97031Freudian

© 2022 - 2024 — McMap. All rights reserved.