diff --git a/packages/editor-ext/src/lib/markdown/utils/marked.utils.ts b/packages/editor-ext/src/lib/markdown/utils/marked.utils.ts index c2b67db1..29482475 100644 --- a/packages/editor-ext/src/lib/markdown/utils/marked.utils.ts +++ b/packages/editor-ext/src/lib/markdown/utils/marked.utils.ts @@ -1,6 +1,6 @@ -import { marked } from 'marked'; -import { calloutExtension } from './callout.marked'; -import { mathBlockExtension } from './math-block.marked'; +import { marked } from "marked"; +import { calloutExtension } from "./callout.marked"; +import { mathBlockExtension } from "./math-block.marked"; import { mathInlineExtension } from "./math-inline.marked"; marked.use({ @@ -8,11 +8,11 @@ marked.use({ // @ts-ignore list(body: string, isOrdered: boolean, start: number) { if (isOrdered) { - const startAttr = start !== 1 ? ` start="${start}"` : ''; + const startAttr = start !== 1 ? ` start="${start}"` : ""; return `