#131 - Fixed highlighting for Korean queries

This commit is contained in:
Simon Cambier
2022-11-28 21:37:42 +01:00
parent 473fbca336
commit 6b1e58fcce
3 changed files with 7 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ export const regexLineSplit = /\r?\n|\r|((\.|\?|!)( |\r?\n|\r))/g
export const regexYaml = /^---\s*\n(.*?)\n?^---\s?/ms
export const regexStripQuotes = /^"|"$|^'|'$/g
export const chsRegex = /[\u4e00-\u9fa5]/
export const chsSegmenter = (app as any).plugins.plugins['cm-chs-patch']
export const excerptBefore = 100
export const excerptAfter = 300