Skip to content

Commit

Permalink
Fix to clarify error
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed May 21, 2024
1 parent d3398fe commit 96ad4d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/docs/what-is-mdx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ So you *can* build incorrect HTML (which you shouldn’t):
```

It’s not possible to wrap “blocks” if text and tags are on the same line but the
corresponding tags are on different lines:
corresponding tags are on different lines (so this is invalid!):

```mdx
```
Welcome! <a href="about.html">

This is home of...
Expand All @@ -332,6 +332,7 @@ That’s because to parse markdown, we first have to divide it into “blocks”
So in this case two paragraphs and a heading.
Leaving an opening `a` tag in the first paragraph and a stray closing `a` tag in
the heading.
Which causes an error.

## Further reading

Expand Down

0 comments on commit 96ad4d8

Please sign in to comment.