In-file highlighting, tweaked grouping

This commit is contained in:
Simon Cambier
2022-04-18 18:17:25 +02:00
parent 41203a11da
commit edeada032a
5 changed files with 54 additions and 46 deletions

View File

@@ -3,7 +3,8 @@ export const regexWikilink = /^!?\[\[(?<name>.+?)(\|(?<alias>.+?))?\]\]/
export const regexLineSplit = /\r?\n|\r|((\.|\?|!)( |\r?\n|\r))/g
export const regexYaml = /^---\s*\n(.*?)\n?^---\s?/ms
export const surroundLen = 180
export const excerptBefore = 100
export const excerptAfter = 180
export type SearchNote = {
path: string