Adjustments to the katex integration, part 2.
This commit is contained in:
parent
5033f3a277
commit
eee22b08f5
1 changed files with 37 additions and 15 deletions
|
|
@ -1,12 +1,13 @@
|
|||
/* eslint-disable no-undef, guard-for-in */
|
||||
|
||||
/**
|
||||
* @file
|
||||
* A JavaScript file for flexsearch.
|
||||
*/
|
||||
|
||||
/* eslint-disable */
|
||||
import * as params from '@params';
|
||||
/* eslint-enable */
|
||||
|
||||
/* eslint-disable no-undef, guard-for-in */
|
||||
(function () {
|
||||
|
||||
'use strict';
|
||||
|
|
@ -14,8 +15,8 @@ import * as params from '@params';
|
|||
const index = new FlexSearch.Document({
|
||||
document: {
|
||||
id: 'id',
|
||||
index: ['title','tags','content','date'],
|
||||
store: ['title','summary','date','permalink']
|
||||
index: ['title', 'tags', 'content', 'date'],
|
||||
store: ['title', 'summary', 'date', 'permalink']
|
||||
},
|
||||
tokenize: 'forward'
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue