Attribute indexing and code completion

This commit is contained in:
Zef Hemel
2023-08-01 21:35:19 +02:00
parent 52a28c78a7
commit 701a567c95
10 changed files with 210 additions and 17 deletions
+1
View File
@@ -46,6 +46,7 @@ export type CompleteEvent = {
pageName: string;
linePrefix: string;
pos: number;
parentNodes: string[];
};
export type WidgetContent = {
+1 -1
View File
@@ -60,7 +60,7 @@ export async function extractFrontmatter(
return null;
}
} catch (e: any) {
console.error("Could not parse frontmatter", e);
console.warn("Could not parse frontmatter", e.message);
}
}