I am trying to replicate a Linux shell interface for a training document in Confluence.
I would like to copy and paste the text from the command line instead of screen-shotting it.
Is there a way to format text with a black background and white text?
See example. The picture you see is all text.
2017-03-08_0956.png
Just use a Div macro with CSS styling:
image2017-3-8 14:33:57.png
Put this in the Styles field:
background-color: black; font-family: courier; color: white;
Voilà!
image2017-3-8 14:35:45.png
Or the code macro.
Forgive me gentlemen, I am fairly new at the Confluence interface.
I am not finding "div" or "code" or "style" or "css" when I search in the macro browser.
The Code Block macro is installed by default. It should be there unless a system admin has disabled it. The DIV and CSS macros require the Content Formatting Macros add-on. It is a free add-on ... kinda. It is free for the basic html macros (div, span, css, etc.).
image2017-3-8 15:55:28.png
Thanks.
Yes, the Content Formatting macro is not free, I will see about getting it installed.
For the Code Block, I may be doing something wrong. Does this look right?
code.png
It looks like you're new here. Sign in or register to get started.