useMarkdown.hook.ts imports types from shikiji-core, but it was only present transitively via markdown-it-shikiji. pnpm's strict resolution blocks importing undeclared transitives, breaking type-check. Pinned to 0.10.2 to match the version markdown-it-shikiji@0.10.2 pulls in. The shikiji line is deprecated upstream in favor of shiki; a real migration is out of scope here.
433 KiB
433 KiB