Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export/provide a api/variable can get all anchor 提供一个api 可以获取所有的 锚点,像是提供给 minisearch 的那种也可以 #4397

Open
yanwuguangjun opened this issue Nov 30, 2024 · 0 comments

Comments

@yanwuguangjun
Copy link

export/provide a api/variable can get all title with anchor
提供一个api 可以获取所有的 标题 + 锚点,像是提供给 minisearch 的那种也可以

在编译时提供,或者运行时提供都可以
It can be provided at compile time or runtime

经常有发送文档链接的需求,而且是要锚点的,每次都要打开文档先找到链接然后再才能发送,如果可以提供一个api可以获取所有的title 链接,这样,我可以在一个地方快速的找到链接从而发给别人
There is often a need to send document links with anchor points. Every time we send doc link, the document must be open then found link first before sending. If an API can be provided to obtain all title links, it can quickly find the links and send them to others

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant