Add an automatic Table of Contents of child pages. Simply type into the current page the following:
{children
To enter a code segment, simply type into the current page the following:
{code
To edit the block afterwards – click on the word Code Block in the block and click edit