mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 16:29:47 +02:00
chore: revert docs(website): use MDX comments instead of HTML comments (#8517)
This commit is contained in:
parent
9c9d17d6aa
commit
bc00bda5e9
38 changed files with 151 additions and 79 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue