Skip to content

kiwicom/docsify-lunr-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lunr search for docsify.js

Search plugin for docsify.js which uses lunr.

Usage

For use in browsers with script tags, download search.js and include the lunr.js CDN like this:

<script>
  window.$docsify = {
    // complete configuration parameters
    // for more options see https://docsify.js.org/#/plugins?id=full-text-search
    search: {
      maxAge: 86400000,
      namespace: 'website-1',
      depth: 1,
    }
  }
</script>
<script src="//unpkg.com/lunr/lunr.js"></script>
<script src="search.js"></script>

About

Search plugin for docsify.js which uses https://lunrjs.com/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published