chore: upgrade Prettier + regenerate lock file (#5611)

* Bump deps

* Run prettier

* Format docs

* Minor refactor

* Collapse objects

* Fix type

* Update lock file
This commit is contained in:
Joshua Chen 2021-09-30 18:54:17 +08:00 committed by GitHub
parent 4dbc458a22
commit 3f1f8255a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
70 changed files with 1534 additions and 1517 deletions

View file

@ -220,7 +220,6 @@ This option works best to get started, or for casual, irregular authors.
Prefer usage of the `authors` FrontMatter, but the legacy `author_*` FrontMatter remains supported:
<!-- prettier-ignore-start -->
```yml title="my-blog-post.md"
---
author: Joel Marcey
@ -229,7 +228,6 @@ author_url: https://github.com/JoelMarcey
author_image_url: https://github.com/JoelMarcey.png
---
```
<!-- prettier-ignore-end -->
:::
@ -293,7 +291,6 @@ The `authors` system is very flexible and can suit more advanced use-case:
You can use global authors most of the time, and still use inline authors:
<!-- prettier-ignore-start -->
```yml title="my-blog-post.md"
---
authors:
@ -305,7 +302,6 @@ authors:
image_url: https://github.com/inlineAuthor
---
```
<!-- prettier-ignore-end -->
</details>
@ -314,7 +310,6 @@ authors:
You can customize the global author's data on per-blog-post basis:
<!-- prettier-ignore-start -->
```yml title="my-blog-post.md"
---
authors:
@ -324,7 +319,6 @@ authors:
name: Sébastien Lorber's new name
---
```
<!-- prettier-ignore-end -->
</details>