Skip to content
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

gatsby-plugin-mdx v4 #196

Merged
merged 19 commits into from
Sep 24, 2022
Merged

gatsby-plugin-mdx v4 #196

merged 19 commits into from
Sep 24, 2022

Conversation

gentksb
Copy link
Owner

@gentksb gentksb commented Aug 17, 2022

  • custom-blocksをやめる
  • mdx v2のMDX構文エラーを修正する
  • gatsby developが動く
  • mdx拡張子に各種エディタ支援を有効にする
  • mdxフォーマットのファイル拡張子を.mdxにする
  • React-shareをやめる

Copy link
Owner Author

@gentksb gentksb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MDXRendererが行方不明
blog-post.tsx

@gatsby-cloud
Copy link

gatsby-cloud bot commented Aug 17, 2022

✅ blog deploy preview ready

@gentksb
Copy link
Owner Author

gentksb commented Aug 17, 2022

Cannot read properties of undefined (reading 'blockTokenizers')
gatsby-custom-blocksに相当するプラグインが必要?要調査

@gentksb
Copy link
Owner Author

gentksb commented Aug 17, 2022

Note: this plugin is incompatible with gatsby-transformer-remark@^4.0.0 because the upstream remark-custom-blocks package is not upgraded to remark 13 yet.

The work on upgrading to remark 13 is in progress, so follow this issue for updates.

The latest compatible version is gatsby-transformer-remark@3.2.0.

良い機会なのでMDXコンポーネントに置き換える

@gentksb
Copy link
Owner Author

gentksb commented Sep 24, 2022

v2へのマイグレーションは、依存関係改善以外のメリットが小さいので、React18に対応できた今意味が薄い
v1に戻してそれ以外の変更のみ反映させる

@gentksb gentksb merged commit 2563da0 into master Sep 24, 2022
@gentksb gentksb deleted the mdx_v2 branch September 24, 2022 08:36
@gentksb gentksb mentioned this pull request Jan 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant