From 9c532627614d5b8c40c296726a5507e63bac26b9 Mon Sep 17 00:00:00 2001 From: developomp Date: Tue, 21 Jan 2025 16:52:40 +0900 Subject: [PATCH] refactor: maintain consistent import naming --- packages/content/src/parseMarkdown.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/content/src/parseMarkdown.ts b/packages/content/src/parseMarkdown.ts index 78558d3..bf29804 100644 --- a/packages/content/src/parseMarkdown.ts +++ b/packages/content/src/parseMarkdown.ts @@ -17,7 +17,7 @@ import remarkGfm from "remark-gfm" import remarkMath from "remark-math" import remarkParse from "remark-parse" import remarkRehype from "remark-rehype" -import supersub from "remark-supersub" +import remarkSupersub from "remark-supersub" import { unified } from "unified" import type { MarkdownData } from "./types/types" @@ -26,7 +26,7 @@ import { nthIndex } from "./util" const processor = unified() // interface for remark and rehype .use(remarkParse) // markdown to AST .use(remarkGfm, { singleTilde: false }) // https://github.com/remarkjs/remark-gfm - .use(supersub) // https://github.com/Symbitic/remark-plugins/tree/master/packages/remark-supersub + .use(remarkSupersub) // https://github.com/Symbitic/remark-plugins/tree/master/packages/remark-supersub .use(remarkDirective) // https://github.com/remarkjs/remark-directive .use(remarkCalloutDirectives) // https://github.com/Microflash/remark-callout-directives .use(remarkMath) // https://github.com/remarkjs/remark-math