mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 08:49:51 +02:00
docs(v2): fix syntax highlighting for YML code blocks (#1988)
This commit is contained in:
parent
0f0352d5b7
commit
472a1a660c
3 changed files with 6 additions and 9 deletions
|
@ -38,7 +38,7 @@ website # root directory of your site
|
|||
|
||||
In the top of the file, specify `id` the `title` in the front matter, so that Docusaurus will pick them up correctly when generating your site.
|
||||
|
||||
```markdown
|
||||
```yml
|
||||
---
|
||||
id: greeting
|
||||
title: Hello
|
||||
|
@ -107,7 +107,7 @@ Documents use the following markdown header fields that are enclosed by a line `
|
|||
|
||||
Example:
|
||||
|
||||
```md
|
||||
```yml
|
||||
---
|
||||
id: doc-markdown
|
||||
title: Markdown Features
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue