-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
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
Issues with Markdoc #6829
Comments
I have recently discovered that markdoc wraps each page in an article tag I hope this is not the way this integration will work in the near future. This is where I discovered it from here. This is another problem. |
I have a new error now. I have recently found out that camel case string is not parsed in the template when using Markdoc. Here is the repo where I discovered this bug You'll see it immediately. |
I recently found out that Markdoc Errors are not displayed because of the Astro Markdoc Implementatiion. I tried to talk to them about error messages but instead I was told this.
I think there is a way of transferring errors from one catcher to another. I think you decided to override the Markdoc errors with your own one. |
The solution to this issue is included in this comment in the issue that you linked. Markdoc by default wraps content in |
This is better explaned in #6865 |
Can you create 1 issue per bug report? It's hard to investigate many things at once. Scanning this issue, for example, I can't tell what is a bug in Astro's Markdoc integration and what is just how Markdoc works. I suspect the error catching is probably a bug on our end, for example. Please create an issue just about that. Closing to keep the repo to actionable issues. |
What version of
astro
are you using?2.2.1
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
pnpm
What operating system are you using?
Windows
What browser are you using?
Chrome
Describe the Bug
There are a few problems with Mardoc. I decided to test it and see if things were going to be ok. But I have found a few problems with it
To see the first two problems go to the
markdown-style-guide.mdoc
page.I created the Code component with the fence so that it could just be implemented later on. Other than that I will write a discussion soon.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-zdtvav
Participation
The text was updated successfully, but these errors were encountered: