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

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

Is there a way to force Title Case to headings?

Is there a way to style the Headers to always use Title Case? I found a JavaScript method that can do this: https://github.com/gouch/to-title-case  I just don't know how or if I can use this with Confluence (server).

I have thousands of headings that I would like to change to Title Case. WAY back, it was decided to only capitalize the first word of a title. When I inherited everything almost 6 years ago, I just kept with the style because it would just be too overwhelming to change everything. (This drives me crazy.) I've started manually updating the main headers (page titles?) but I'm looking for an automatic way. Maybe I'd have a better chance of winning the lottery than to find something like this?

 

1 answer

1 accepted

0 votes
Answer accepted
Shannon Atlassian Team Nov 22, 2019

Hello Kimberly,

Thank you for contacting us about this.

It is possible to use Javascript in Confluence Server. See How to use Javascript in Confluence Server for more details.

You'll need to customize the script to change the specific heading elements (h1, h2, etc.) It will require that you have a bit of knowledge on Javascript. Have a look here for more information how to do that: How to Change HTML Elements in JavaScript.

Let us know if you have any questions.

Regards,

Shannon

Great!! Is it possible to set this up for just ONE space or will this be for all of the spaces that we have? I'd rather mess up only space if I do something wrong than all of them. ;)

Thanks!

Shannon Atlassian Team Nov 25, 2019

Kimberly,

You could use the suggestion from How to call a javascript from every page of a Confluence space.

Note that I haven't been able to test this myself as I'm not very familiar with javascript, but let us know if you have any issues.

Regards,

Shannon

Hello @Shannon 

Is there a way to do this with Jira Cloud?

Regards,

Gideon

Shannon Atlassian Team Aug 10, 2021

Hi @Gideon Stettler,

Thank you for your reply! To be honest, I am not too familiar with Jira Cloud. I recommend raising a new question under the Jira collection, and someone can let you know.

Take care,

Shannon 

Like Gideon Stettler likes this
Like Kimberly Onnen likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

238 views 4 9
Read article

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