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

[編集中]remark-heading-idをインストール #1455

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nao-nakata
Copy link
Contributor

見出しに固定のIDを付与するため
https://kufuinc.slack.com/archives/C018J0A6DCH/p1734399868379119

課題・背景

やったこと

やらなかったこと

動作確認

キャプチャ

Before After

Copy link

netlify bot commented Dec 19, 2024

Deploy Preview for smarthr-design-system ready!

Name Link
🔨 Latest commit caf1258
🔍 Latest deploy log https://app.netlify.com/sites/smarthr-design-system/deploys/676399a91eacd10008646daf
😎 Deploy Preview https://deploy-preview-1455--smarthr-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nao-nakata
Copy link
Contributor Author

import remarkHeadingId from 'remark-heading-id';で以下のエラーが発生

モジュール 'remark-heading-id' の宣言ファイルが見つかりませんでした。'/Users/naohiro.nakata/Repos/smarthr-design-system/node_modules/.pnpm/[email protected]/node_modules/remark-heading-id/index.js' は暗黙的に 'any' 型になります。
存在する場合は npm i --save-dev @types/remark-heading-id を試すか、declare module 'remark-heading-id'; を含む新しい宣言 (.d.ts) ファイルを追加します

@nao-nakata
Copy link
Contributor Author

npm i --save-dev @types/remark-heading-id を実行する

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