Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Coloured and bold monospaced text

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.

 

Thanks.

3 answers

2 votes
Thomas Schlegel Community Leader May 08, 2017

Hi Donald,

I doubt that this will be possible without any CSS customization.

There is an quite old open issue for that: https://jira.atlassian.com/browse/CONFSERVER-1179

Thanks Thomas, I used the work-around of cut-n-pasting from a code block found in one of the answers your link points to, but it is hit-n-miss with several steps and I and other members of my team are still looking for something easier...

:-)

 

1 vote
Bill Bailey Community Leader May 09, 2017

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.

>  create a user macro that formats text with a classed p tag

 

Ahhh, if only... Unfortunately I am new to Confluence. I have some HTML ability so I will take a first look at macros.  Thanks :-)

Thomas Schlegel Community Leader May 10, 2017

Hi Donald,

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

Just got Atlassian support to open https://jira.atlassian.com/browse/CONFSERVER-59278 for us. Please vote for it.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

335 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you