Shenwei Wang
Shenwei Wang
For those who having the same problem, I have switched to [html-webpack-tags-plugin](https://github.com/jharris4/html-webpack-tags-plugin) which works.
For the example below, the `Bug Fixes` heading should be a subheading of the release `0.1.2`, but now they are at the same level. This also caused bots like renovatebot...
你指的是搜索时只做类似 `content.includes(keyword)`(`content` 是整篇文章的内容)的工作?目前不提供这个能力,没有想到什么场景需要这样做。 或者指的是 content 做分词,但 keyword 需要完整匹配,不对 keyword 分词或模糊匹配或词形变化等处理?这个目前不支持,但理论上可以去做,类似搜索引擎使用半角双引号 `"keyword"` 的效果。 P.S. 建议下次使用英语来提 issue,这样回答你的问题的人群范围可以扩大很多。
> 另外,我想确认一下。搜索时,点击弹出框里面的结果,跳转到相应页面关键字会高亮。但是在显示全部结果那里,点击跳转页面不会显示高亮关键字。这是什么原因 那可能是漏了实现...
Um, this is probably caused by the default separator of the search library under the hood named *lunr.js*, see [here](https://github.com/olivernn/lunr.js/blob/master/lib/tokenizer.js#L76), which uses `/[\s\-]+/` as the default separator. It's reasonable to...
The `"/"` should have already been ignored right now. Try searching `style/` on our [demo website](https://easyops-cn.github.io/docusaurus-search-local/).
This url is probably edited by hand, in practice, end users will not come into such url. I don't understand your scenario about how to get such url.
Um, I think it is added by your website host. First try configuring your host to tell it to not add the "/". If that's not possible, and if it's...
You can try setting `indexPages: true` for this theme according to [our documentation](https://github.com/easyops-cn/docusaurus-search-local#theme-options). I guess *the files which is not part of the docs folder* means they are *pages* instead...
There are some errors in the document, the default setting is not `/meta$/` but `[]`. Even though the option is named as `ignoreFiles`, however, it means `ignore routes`, you should...