Unexpected token error occured, when build .md
contains multiple images
#8630
Labels
needs triage
Issue needs to be triaged
.md
contains multiple images
#8630
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When I run
astro build
orastro dev
a Markdown with multiple images usingastro:assets
,I get an
Unexpected token (Note that you need plugins to import files that are not JavaScript).
For example, writing the following Markdown will result in an error.
error log
example
https://stackblitz.com/edit/withastro-astro-mzqz2y
->
npm install && npm run build
What's the expected result?
Markdown containing multiple images should render without error.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-mzqz2y
Participation
The text was updated successfully, but these errors were encountered: