kuroro-31/blog

GraphCMSの記事作成のマークダウンでバグが起きている

Closed this issue · 1 comments

以下のパターンでバグが起きている可能性がある
・parcerがうまくいっていない
・graphqlの設定がおかしい

"html-react-parser": "^1.4.9", をインストールしている状態であることを確認
<div dangerouslySetInnerHTML={{ __html: post.content.html }} /> で解決

https://nextjs.org/learn/basics/dynamic-routes/render-markdown