Image is not show
Closed this issue · 3 comments
officialrajdeepsingh commented
Provide environment information
Version of available packages:
- next:
13.5.6
- outstatic
0.0.41
- react
18.2.0
- react-dom 18.2.0`
- @tailwindcss/typography
0.5.10
- @types/react-dom 18.2.14`
- eslint
8.52.0
- remark
15.0.1
- typescript
5.2.2
- @types/node
20.8.8
- autoprefixer
10.4.16
- eslint-config-next
13.5.6
- remark-html
16.0.1
- @types/react
18.2.31
- dayjs
1.11.10
- postcss
8.4.31
- tailwindcss
3.3.4
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
When outstatic CMS convert markdown file in /outstatic/content/posts
folder. It adds >
in end of image URL.
![Follower](https://cdn.pixabay.com/photo/2023/10/27/17/04/dahlia-8345799_1280.jpg> "an-image-title")
https://github.com/officialrajdeepsingh/outstatic-demo
Expected Behavior
Remove the >
in markdown image.
![Follower](https://cdn.pixabay.com/photo/2023/10/27/17/04/dahlia-8345799_1280.jpg "an-image-title")
Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster
https://github.com/officialrajdeepsingh/outstatic-demo
To Reproduce
avitorio commented
@officialrajdeepsingh Thanks for the issue! I'll look it up.
avitorio commented
Hi @officialrajdeepsingh, one question. Have you added cdn.pixabay.com to your allowed domains on the next.config.js?
https://nextjs.org/docs/app/api-reference/components/image#domains
officialrajdeepsingh commented
Now, the image URL issue is fixed in outstatic 1.0.3.