diff --git a/packages/markdown/remark/src/rehype-collect-headings.ts b/packages/markdown/remark/src/rehype-collect-headings.ts index 142f796d6..97fe30401 100644 --- a/packages/markdown/remark/src/rehype-collect-headings.ts +++ b/packages/markdown/remark/src/rehype-collect-headings.ts @@ -1,5 +1,4 @@ import Slugger from 'github-slugger'; -import { toHtml } from 'hast-util-to-html'; import { visit } from 'unist-util-visit'; import type { MarkdownHeading, MarkdownVFile, RehypePlugin } from './types.js';