Skip to content

Obsidian Notes

Supported Front-matter

  • public: true | false
    Only renders markdown pages that include this front-matter. Default is false.

  • layout: "default" | "plain"
    Sets the layout of the markdown page. Default is default.

  • sidebar.label: string
    Defines the label shown for this page in the sidebar. Default is the markdown filename.

  • sidebar.order: number
    Controls the display order (starting at 1) of the page in the sidebar.

  • sidebar.parent.label: string
    Sets the parent/directory label in the sidebar structure.

  • sidebar.parent.order: number
    Controls the ordering (starting at 1) of the parent/directory in the sidebar.

  • sidebar.parent.collapsed: true | false
    The default state of the parent/directory in the sidebar. Default is true.

  • lang: string
    Sets the language of this page only. Default is en.

  • dir: "rtl" | "ltr"
    Sets the text direction of the markdown content (not the page layout). Default is ltr.

  • tags: string, string, ...
    Adds tags to the markdown page. Tags are rendered under the page title (First H1 heading).