Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
Signed-off-by: Josh-Cena <[email protected]>
  • Loading branch information
Josh-Cena committed Aug 27, 2021
1 parent 54c51e1 commit b01e9f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
12 changes: 6 additions & 6 deletions website/docs/blog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ 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 -->
<!-- prettier-ignore-start -->
```yml title="my-blog-post.md"
---
author: Joel Marcey
Expand All @@ -235,8 +235,8 @@ author_url: https://github.com/JoelMarcey
author_image_url: https://github.com/JoelMarcey.png
---
```
<!-- prettier-ignore-end -->

<!-- prettier-ignore -->
:::

### Global authors {#global-authors}
Expand Down Expand Up @@ -305,7 +305,7 @@ 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 -->
<!-- prettier-ignore-start -->
```yml title="my-blog-post.md"
---
authors:
Expand All @@ -317,16 +317,16 @@ authors:
image_url: https://github.com/inlineAuthor
---
```
<!-- prettier-ignore-end -->
<!-- prettier-ignore -->
</details>
<details>
<summary>Local override of global authors</summary>
You can customize the global author's data on per-blog-post basis:
<!-- prettier-ignore -->
<!-- prettier-ignore-start -->
```yml title="my-blog-post.md"
---
authors:
Expand All @@ -336,8 +336,8 @@ authors:
name: Sébastien Lorber's new name
---
```
<!-- prettier-ignore-end -->
<!-- prettier-ignore -->
</details>
<details>
Expand Down
5 changes: 2 additions & 3 deletions website/docs/guides/docs/docs-create-doc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ With <code>{#custom-id}</code> syntax you can set your own header id.

Optionally, you can add tags to your doc pages, which introduces another dimension of categorization in addition to the [docs sidebar](./sidebar.md). Tags are passed in the front matter as a list of labels:

<!-- prettier-ignore -->
<!-- prettier-ignore-start -->
```yml "your-doc-page.md"
---
id: doc-with-tags
Expand All @@ -98,5 +98,4 @@ tags:
- Getting started
---
```

<!-- prettier-ignore -->
<!-- prettier-ignore-end -->

0 comments on commit b01e9f9

Please sign in to comment.