Some documentation clearly shows what keys are required to perform a task. The Atom Flight Manual (for the Atom editor) is one example.
On this page, the manual tells you to press ctrl + left to move left one word. The keypresses (ctrl + left) are clearly shown in a shadowed box.
I've looked at the CSS to make this happen. Before I start cobbling something together on my own, is there a macro or other add-in to do something like this?
Yes, I have searched for keypress, keystroke. Most searches return results on how to assign macros to keystrokes.
I could not find a way to style keypress / keyboard keystrokes natively, so I created an issue suggesting this feature: https://jira.atlassian.com/browse/CONFSERVER-97031
Please vote it up if you think this is relevant.
As a workaround, one can use monospaced text and adjust it by changing the CSS style. For instance, I tested it with the CSS Stylesheet macro (3rd party plugin) and the following CSS style:
code { background-color: lightgrey; padding: 2px 8px; border-radius: 6px; }
I suspected that might be the case. I'll add creating the macro to Jira. ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nicholas,
I do not believe there is any out of the box options that suit that need. There may be a plugin with similar functionality, but I was not able to find one in the marketplace. I do know that creating a page from a template allows for instructional text, but it does not persist if edited. You may want to consider creating a macro with this functionality. Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joshua, I'm supplementing my original question to make this more clear.
As a page editor, and within a confluence page (e.g. the Atom Flight Manual cited above), I should be able to clearly direct the page's reader to press a key sequence to perform some function (e.g. "press [Ctrl] + [Alt] + [Del]" to initiate self-destruct).
Is there a macro or other suggested way to show a nicer representation of the key?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nicholas,
It sounds like you're looking for Confluence's Keyboard Shortcuts. Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.