-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Impossible to use SVG files in Markdown when astro:assets is enabled #7420
Copy link
Copy link
Closed
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)feat: assetsRelated to the Assets feature (scope)Related to the Assets feature (scope)feat: markdownRelated to Markdown (scope)Related to Markdown (scope)
Description
What version of astro are you using?
2.6.4
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
With Assets, it's not possible to use svg files in Markdown image tags (as in )
This creates the following error

Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-ife6nx?file=src%2Fcontent%2Fblog%2Ffirst-post.md
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)feat: assetsRelated to the Assets feature (scope)Related to the Assets feature (scope)feat: markdownRelated to Markdown (scope)Related to Markdown (scope)