/elasticlunr-ja.js

Elasticlunr.js for ja documents made by mdbook.

Primary LanguageJavaScript

Elasticlunr-ja.js

Purpose

Now, mdBook is not able to search in Japanese.

This is a minimal extension to Elasticlunr.js to allow mdBook to search in Japanese.

Usage

  1. Write a book in Markdown.
  2. Build a Book by mdBook.
  3. Copy dist/elasticlunr.min.js into /path/to/a_book/.
  4. Now, you have been able to search in a Japanese book.