We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pnpm
Linux
If:
<Markdown>
then I get a syntax error that looks like SyntaxError: [76:7]: Unexpected token: ','.
SyntaxError: [76:7]: Unexpected token: ','
npm init astro using any template
npm init astro
Create the following .astro file:
.astro
--- import { Markdown } from 'astro/components'; --- <html> <body> <div> <Markdown> <div /> </Markdown> oops </div> </body> </html>
Expected: oops
oops
Notes:
<div />
No response
The text was updated successfully, but these errors were encountered:
Fixed in #1406! See https://stackblitz.com/edit/astro-v5dscj?file=src%2Fpages%2Findex.astro for working repro with next
next
Sorry, something went wrong.
Following up on my previous comment, the team has decided to close out issues that have been confirmed as fixed by [email protected], [email protected], or [email protected]. Our hope is that this will help the v0.21 milestone remain as actionable as possible.
To verify that this issue has been fixed, you may
astro@next
npm i astro@next # If using Framework renderers... npm i @astrojs/renderer-name@next
If you think we made a mistake, please reopen this issue!
If you run into any other problems with astro@next, please open a new issue.
No branches or pull requests
What package manager are you using?
pnpm
What operating system are you using?
Linux
Describe the Bug
If:
<Markdown>
element in my page, and<Markdown>
element is either empty or ends with HTML, and<Markdown>
element,then I get a syntax error that looks like
SyntaxError: [76:7]: Unexpected token: ','
.Steps to Reproduce
npm init astro
using any templateCreate the following
.astro
file:SyntaxError: [76:7]: Unexpected token: ','
Expected:
oops
Notes:
<div />
inside the<Markdown>
makes the problem go awayoops
makes the problem go awayLink to Minimal Reproducible Example (Optional)
No response
The text was updated successfully, but these errors were encountered: