In Markdown files:
In MDX files:
The name above refers to the name of the referenced document. For more information, please refer to Document Reference Configuration. If the referenced document content uses static resources from a remote repository, the related static resources will be automatically stored locally in the <root>/public/_remotes/<name> directory.
Here is an example using <!-- reference-start#ref -->:
frontmatterModeignore: Ignores the frontmatter of the referenced document and retains the frontmatter of the current document.merge: Merges the frontmatter of the referenced document. If there are the same keys, the values from the referenced document will overwrite those in the current document.replace: Replaces the frontmatter of the current document with that of the referenced document.remove: Removes the frontmatter of the current document.For writing documentation, refer to Document Reference.