TOC in crelore markup

Hongsoog Kim March 8, 2016

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
Hongsoog Kim March 8, 2016
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
AUG Leaders

Atlassian Community Events