Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Batch Demote/Promote headings?

JRR July 6, 2014

I have a number of pages where I need to demote all the Heading 1's to Heading 2, and the Heading 2's to 3. Is there a more efficient way to do this than manually changing the paragraph formatting for each one? Thank you!

1 answer

1 accepted

0 votes
Answer accepted
Deividi Luvison
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 7, 2014

Hey JRR,

There's a little work around to achieve that:

  1. Install Confluence Source Editor plugin.
  2. Go to the Page you want to do that and click in Edit.
  3. Next to the magnefier icon you will see a new button "<>", click on it.

That will open the page in the source editor mode, once your page is open you will notice that the header syntax is the following:

<h1>Heading 1</h1>

<p>some text</p>

<h2>Heading 2</h2>

<p>some text</p>

<h3>Heading 3</h3>

<p>some text</p>

All that you will need to do is to change the h1 to h2 and h2 to h3:

<h2>Heading 1</h2>

<p>some text</p>

<h3>Heading 2</h3>

<p>some text</p>

<h3>Heading 3</h3>

<p>some text</p>

Since source editor window have a find and replace all you need to do is to use that option do change all the <h1> to <h2> and do a replace all and hit save :).

Hope it helps.
Thanks and Regards,
David|Atlassian Support
JRR July 7, 2014

Thank you David/Deividi. That's good motivation for me to bug my admin to let me use the Source Editor plugin!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events