A subpage would be a wikilink alone in a paragraph in the current page. So if the wikilink is [mySubpage](), the table of content of the current page would then include the table of contents of mySubpage at the point it appears in the hierarchy.
This should be made available as an option in the configuration file.
