subdocument

.subdocument path:{String} label:{InlineMarkdownContent? = null} -> Node

Creates a link to a subdocument located at the given path.

This is an alias to the link syntax, [Label](path), with more freedom:

  • Function calls are supported, whereas the link syntax only supports static paths.

  • The link syntax recognizes subdocuments only by their file extension (.qd or .md).

Return

a SubdocumentLink node, which may be hidden if label is not provided

Parameters

path

path to the subdocument

label
  • Optional

optional label for the link. If not provided, this function will just add the subdocument to the document graph, without displaying a link.

Wiki page

Subdocuments