Skip to content

Commit

Permalink
wip about <AUTOGENERATED_TABLE_OF_CONTENTS>
Browse files Browse the repository at this point in the history
  • Loading branch information
wgao19 committed Nov 23, 2019
1 parent 9539251 commit 128241c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/docs/migrating-from-v1-to-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,10 @@ Please refer to [creating pages](creating-pages.md) to learn how Docusaurus 2 pa

## Content

### Remove `<AUTOGENERATED_TABLE_OF_CONTENTS>`

<!-- https://github.com/facebook/docusaurus/issues/1549#issuecomment-500094731 -->

### Update Markdown syntax to be MDX-compatible

In Docusaurus 2, the markdown syntax has been changed to [MDX](https://mdxjs.com/). Hence there might be some broken syntax in the existing docs which you would have to update. A common example is self-closing tags like `<img>` and `<br>` which are valid in HTML would have to be explicitly closed now ( `<img/>` and `<br/>`). All tags in MDX documents have to be valid JSX.
Expand Down

0 comments on commit 128241c

Please sign in to comment.