I want to add bold and/or coloured text and/or background highlighting to sections of a page that are in a monospaced font. How can I do this?
I saw one answer that mentioned CSS, but I don't do CSS.
I want to make some paragraphs appear in a monospaced font and be able to enbolden, colour, highlight, or italicise words in that monospaced paragraph.
Currently monospacing or preformatting text stops me from being able to further modify it.
The easiest way would be to create a user macro that formats text with a classed p tag (or inline style directive if you don't want to do CSS). Then the text inside the macro could be bolded, etc., but will appear in a monospaced font when displayed. Now the monospaced font you picked has to have bold and italic variants for this to work.
I've written an article with an example for a user macro. It's another usecase, but maybe it helps you getting started with user macros: https://community.atlassian.com/t5/Confluence-articles/The-Admin-s-tale-User-Macro-filtering-a-Confluence-table/ba-p/459369
Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs