feat: add rehype-katex-notranslate
plugin for preventing symbols in formulas to be translated by browser translate-tools. (#1049)
* fix(format): format the codes * fix(format): format the code * feat: add rehype-katex-notranslate plugin to prevent symbol in formulas to be translated. * update(dep): update `rehype-katex-notranslate` version
This commit is contained in:
@ -66,7 +66,7 @@ function createSearchIndex(allBlogs) {
|
||||
) {
|
||||
writeFileSync(
|
||||
`public/${siteMetadata.search.kbarConfig.searchDocumentsPath}`,
|
||||
JSON.stringify((sortPosts(allBlogs)))
|
||||
JSON.stringify(sortPosts(allBlogs))
|
||||
)
|
||||
console.log('Local search index generated...')
|
||||
}
|
||||
|
Reference in New Issue
Block a user