diff --git a/src/main.ts b/src/main.ts index afba6f11..5c7c94a2 100644 --- a/src/main.ts +++ b/src/main.ts @@ -346,7 +346,7 @@ export default class BreadcrumbsPlugin extends Plugin { const hier: { note: string; depth: number; children: string[] }[] = []; - const lineRegex = new RegExp(/\s*- \[\[(.*)\]\]/); + const lineRegex = new RegExp(/\s*[-\*\+] \[\[(.*)\]\]/); const pushNoteUp = ( hier: { note: string; depth: number; children: string[] }[],