diff --git a/source/generate.ts b/source/generate.ts index 3cd0d31..d2a2e2c 100644 --- a/source/generate.ts +++ b/source/generate.ts @@ -235,7 +235,7 @@ function recursiveParse( preview: "", date: "", tags: [], - toc: toc(markdownData.content).content, + toc: toc(markdownRaw).content, } // content preview