Skip to content

Commit

Permalink
fix: Correct language
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Jul 16, 2020
1 parent b0a1ff1 commit 8bf6d60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ The repository currently contains a Jekyll site (`./`) as well as a Gatsby site

:pray: that MDX v2 fixes this.

MDX has its flaws. When rendering components, any text inside of them is treated as raw text (_not_ markdown). To work around this you can use the `<markdown>` tag, but it also has its issues. Generally speaking, put an empty after the opening tag, and before the closing tag.
MDX has its flaws. When rendering components, any text inside of them is treated as raw text (_not_ markdown). To work around this you can use the `<markdown>` tag, but it also has its issues. Generally speaking, put an empty line after the opening tag, and before the closing tag.

```jsx
// dont do this as parsing will hit weird breakages
Expand All @@ -70,7 +70,7 @@ foo bar
```

```jsx
// do this@
// do this
<markdown>

foo bar
Expand Down

0 comments on commit 8bf6d60

Please sign in to comment.