docs: multiple documentation elaborations (#7519)

This commit is contained in:
Joshua Chen 2022-05-28 21:24:01 +08:00 committed by GitHub
parent ab566ecce3
commit f40dc31381
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 124 additions and 116 deletions

View file

@ -56,6 +56,22 @@ In general, you should only assume the _semantics_ of the markup (` ``` ` fences
</details>
## Front matter {#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](https://yaml.org/spec/1.2.2/).
```md
---
title: My Doc Title
more_data:
- Can be provided
- as: objects
or: arrays
---
```
## Quotes {#quotes}
Markdown quotes are beautifully styled: