egoist/docute

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Build a local search plugin #21

egoist posted onGitHub

Using the plugin API for searching: https://docute.org/plugin-api#apienablesearchoptions


Any progress regarding this functionality? I want to migrate to docute, but I don't want to use Algolia 😩

posted by Itherael about 7 years ago

This vue component might be a good example (or potential component to integrate) to offer this: https://github.com/shayneo/vue-fuse/

posted by phillbaker about 7 years ago

Now we have a plugin API for searching: https://docute.org/plugin-api#apienablesearchoptions

We just need to figure out how to create/store search-index.json

posted by egoist almost 6 years ago

@issuehunt has funded $200.00 to this issue.


posted by IssueHuntBot almost 6 years ago

Given that this runs in browser might as well run it in memory. The files would have to be loaded from sidebar, parsed-https://github.com/markdown-it/markdown-it-, and then fed into a search library such as https://www.npmjs.com/package/lunr which takes objects and appears to return the whole tree made of object keys for a result. Ideally the link would be able to take you to that exact spot in text, or at least a paragraph, something a parser might not support like paragraph 1 after h3. When markdown component loads, do those link work via router or is it something browser supports with markdown?

posted by janat08 almost 6 years ago

So is it okay if search material is compiled at runtime, instead of having search-index.json produced before then?

posted by janat08 almost 6 years ago

Working on this. Can you please assign me?

posted by DeveloperBen over 5 years ago

I created a pull request #261 that should close this.

posted by DeveloperBen over 5 years ago

Fund this Issue

$200.00
Funded
Only logged in users can fund an issue

Pull requests

Recent activities

developerben submitted an output to  egoist/ docute# 21
over 5 years ago
issuehunt funded 200.00 for egoist/docute# 21
almost 6 years ago