Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mdx): correctly recognize inline JSX (#5783)
- Loading branch information
Showing
6 changed files
with
118 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
This is an example of a component _being used in some italic markdown with some <Bolded />, | ||
and as you can see_ once you close the italics, it will break incorrectly when prettier formats it. | ||
|
||
| Column 1 | Column 2 | | ||
| -- | -- | | ||
| **`Row 1 Code`** | Some text. | | ||
| **<code>Row 2 Code</code>** | Some text. | | ||
| **<InlineCode>Row 2 Code</InlineCode>** | Some text. | |