This is what it would be ...
<ac:structured-macro ac:name="panel"> <ac:rich-text-body> <p> <strong>On this page:</strong> </p> <p> <ac:structured-macro ac:name="toc"> <ac:parameter ac:name="maxLevel">2</ac:parameter> <ac:parameter ac:name="minLevel">2</ac:parameter> </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro>
When you are on the page view the source.
This will popup a new window. In that window you will see what you would see if you were editing the page.
You can see that that section is just a panel with some text and a table of contents in it. You can see thet the minLevel and maxLevel properties are set on the table of contents. On your system recreate it. You can also copy the source from the popup by highlighting it and pasting it into your Confluence ... worked for me.
Then use the Confluence Source Editor to view the source. Click the <> button in your toolbar.
Voila! There is the storage format.
Hey thanks Nic, I want the source that I can add to my own wiki to recreate the "on this page" block from that page, so I think "view source" is not what I'm after.
I tried to grab the storage format with the XML-RPC getPage method, but it complains "incorrect username/password combination" even though I'm able to log in to that wiki with the same username and password.
Is someone with access able to please pastebin the storage format of that page for me?
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG