docs(v2): fix syntax highlighting for YML code blocks (#1988)

This commit is contained in:
Alexey Pyltsyn 2019-11-14 02:43:01 +03:00 committed by Yangshun Tay
parent 0f0352d5b7
commit 472a1a660c
3 changed files with 6 additions and 9 deletions

View file

@ -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