forked from laptou/astro
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: markdown JSX expression inconsistencies (withastro#3152)
* fix: remove micromark-extension-mdx-expression to unbreak JSX expressions * chore: changeset * deps: update lockfile * tests: jsx expressions in markdown
- Loading branch information
1 parent
9ac8d35
commit 317e124
Showing
2 changed files
with
22 additions
and
0 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,11 @@ | ||
--- | ||
title: Blog Post with JSX expressions | ||
paragraph: JSX at the start of the line! | ||
list: ['test-1', 'test-2', 'test-3'] | ||
--- | ||
|
||
## {frontmatter.title} | ||
|
||
{frontmatter.paragraph} | ||
|
||
{frontmatter.list.map(item => <p id={item}>{item}</p>)} |