-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed usage in mdx code blocks and added a test page
- Loading branch information
1 parent
1ebd01d
commit a5535b3
Showing
4 changed files
with
34 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### Another page partial content | ||
|
||
This is text coming from another page partial | ||
|
||
#### Foo | ||
|
||
Level 4 headings don't belong in ToC |
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,12 @@ | ||
import PagePartial from './_pagePartial.md'; | ||
import AnotherPagePartial from './_anotherPagePartial.md'; | ||
|
||
# Partials tests | ||
|
||
This page consists of multiple files imported into one. Notice how the table of contents works even for imported headings. | ||
|
||
## Imported content | ||
|
||
<PagePartial /> | ||
|
||
<AnotherPagePartial /> |