Forums

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

Convert headings to bulleted list, preserving levels

jtuzman
Contributor
September 21, 2020

I have a document with, for example, the following headings:

h1. A

h2. B

h3. C

h2. D

h1. E

 

And I want the headings to actually be a bulleted list, where the heading level becomes the indent level:

  • A
    • B
      • C
    • D
  • E

Is there some kind of way to do this? If I select them all and hit "bullets" they're all on the same level. Seems like the information about header "level" could be easily converted into indent level.

1 answer

0 votes
Bill Bailey
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.
September 21, 2020

Yes, but you cannot accomplish this via the built-in editor. You have two choices:

  • Update the space CSS to give you the styling you want (but this will impact all pages in that space.
  • Write a user macro (with included CSS to hold your content (the content would go inside the macro instance.
Jonathan Tuzman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 23, 2020

If this is the only answer, the answer is "no". 

I'm not trying to "Display headers as bullets", rather I'm trying to easily convert (actually convert) pasted headers into bullets. Changing the content itself.

Bill Bailey
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.
September 23, 2020

Are you saying reformat heading text to bullets? If that is the case, highlight all of your headers, then select the clear format option in the editor ribbon, and reformat as bullets. Then tab to adjust the level.

There is no simple way to autoconvert from headings to bullets. My first answer was how to have the headings be displayed as bullets. IT would do what you want, but the items would still be headings.

Bill Bailey
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.
September 23, 2020

I had another thought. You could paste all your headings on to a page, then insert the ToC macro at the top. It does this heading conversion. Then you can just copy/paste from the ToC display.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events