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

TOC in crelore markup

This question is in reference to Atlassian Documentation: Add a table of contents to a wiki

Unfortunately I have a few wik pages that contain space in wiki title.

For example, "introduction wiki"

 

It seems that <<toc>> does not hand the path that has space.

Is there workaround for <<toc /introduction wiki  1>> ?

I have tried <<toc "/introduction wiki" 1>> but got error message.

Wiki macro error: Could not find file wiki'

 

Thanks for your reading.

1 answer

1 accepted

0 votes
Answer accepted
a soliloquy

if wiki page name contains space in the middle, it translated into underline char.

Hence, <<toc introduction_wiki 1>> works in this case

 

if the wiki page is located in the sub folder such as a/b/c/test_case.wiki, use 

<<toc a/b/c/test_case 2>>

 

 

 

Suggest an answer

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

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,340 views 6 6
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