Frontmatter is a common format to attach additional metadata (data about data) to markdown documents.In SilverBullet, there are multiple ways to attach Metadata to a page; frontmatter is one of them.You create it by starting your markdown document with --- followed by YAML encoded attributes and then ending with --- again. Followed by the regular body of your document. This very page contains some frontmatter, click on it to see the underlying code.Here is another example:
---For convenience, you may use the attribute.subAttribute notation, which internally will expand:
## This is a section
This is content
Special attributesWhile SilverBullet allows arbitrary metadata to be added to pages, there are a few attributes with special meaning:In addition, in the context of Templates frontmatter has a very specific interpretation.