-
I have the following in my NextJS project as per the "Advanced Search" page: import { getPages } from '@/app/source';
import { createSearchAPI } from 'fumadocs-core/search/server';
export const { GET } = createSearchAPI('advanced', {
indexes: getPages().map((page) => ({
title: page.data.title,
structuredData: page.data.exports.structuredData,
id: page.url,
url: page.url,
})),
}); which works great, although it isn't able to pick up text from markdown tables, e.g. searching for "Alice" in | Name | Age | Occupation |
|----------|-----|-------------|
| Alice | 25 | Engineer |
| Bob | 30 | Designer |
| Charlie | 35 | Teacher | Are there any workarounds to make this possible without losing other functionalities? |
Beta Was this translation helpful? Give feedback.
Answered by
fuma-nama
Aug 30, 2024
Replies: 1 comment 4 replies
-
Just released a fix, now it should index tables correctly |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
nktnet1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just released a fix, now it should index tables correctly