We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e320850 commit 838f66cCopy full SHA for 838f66c
src/lib/get-llm-text.ts
@@ -9,8 +9,8 @@ const processor = remark().use(remarkMdx).use(remarkInclude).use(remarkGfm)
9
10
export async function getLLMText(page: InferPageType<typeof source>) {
11
const processed = await processor.process({
12
- path: page.data._file.absolutePath,
13
- value: page.data.content,
+ path: page.data.info.fullPath,
+ value: await page.data.getText("raw"),
14
})
15
16
return `# ${page.data.title}
0 commit comments