-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
🐛 BUG: HTML doesn't work in markdown #3220
Copy link
Copy link
Closed
Labels
- P2: nice to haveNot breaking anything but nice to have (priority)Not breaking anything but nice to have (priority)feat: markdownRelated to Markdown (scope)Related to Markdown (scope)
Description
What version of astro are you using?
1.0.0-beta.18
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
Describe the Bug
I’m using the built-in component to render HTML from a markdown file. It’s working just fine, but when I put HTML inside the markdown file, it duplicates some of the text content and produces weird spacing. For instance, if I put in content, I get extra spacing around the word “content”, and my other plain text preceding the code-tag is duplicated. It worked when I was able to use {content.astro.html} in an earlier version of Astro.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-ut8fqd
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- P2: nice to haveNot breaking anything but nice to have (priority)Not breaking anything but nice to have (priority)feat: markdownRelated to Markdown (scope)Related to Markdown (scope)