chore: revert docs(website): use MDX comments instead of HTML comments (#8517)

This commit is contained in:
Sébastien Lorber 2023-01-06 17:07:53 +01:00 committed by GitHub
parent 9c9d17d6aa
commit bc00bda5e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 151 additions and 79 deletions

View file

@ -63,7 +63,7 @@ hide_table_of_contents: false
Welcome to this blog. This blog is created with [**Docusaurus 2**](https://docusaurus.io/).
<!-- truncate -->
<!--truncate-->
This is my first post on Docusaurus 2.
@ -76,7 +76,7 @@ The [front matter](./guides/markdown-features/markdown-features-intro.mdx#front-
The blog's index page (by default, it is at `/blog`) is the _blog list page_, where all blog posts are collectively displayed.
Use the `{/*truncate*/}` marker in your blog post to represent what will be shown as the summary when viewing all published blog posts. Anything above `{/*truncate*/}` will be part of the summary. For example:
Use the `<!--truncate-->` marker in your blog post to represent what will be shown as the summary when viewing all published blog posts. Anything above `<!--truncate-->` will be part of the summary. For example:
```md
---
@ -87,7 +87,7 @@ All these will be part of the blog post summary.
Even this.
<!-- truncate -->
<!--truncate-->
But anything from here on down will not be.