跳到主要内容

Plugin Contents

The functionalities of the most three contents blog, docs and pages are provided by docusaurus.

These contents plugins are responsible for loading your site's content, and creating pages for your theme to render.

  • plugin-content-docs
  • plugin-content-blog
  • plugin-content-pages

Front Matter

Front matter is used to add metadata to your Markdown file. All content plugins have their own front matter schema, and use the front matter to enrich the default metadata inferred from the content or other configuration.

Front matter is provided at the very top of the file, enclosed by three dashes ---. The content is parsed as YAML.

---

title: My Doc Title more_data:

- Can be provided
- as: objects
or: arrays

---

The API documentation of each official plugin lists the supported attributes.