Attribute indexing and code completion
This commit is contained in:
@@ -46,6 +46,7 @@ export type CompleteEvent = {
|
||||
pageName: string;
|
||||
linePrefix: string;
|
||||
pos: number;
|
||||
parentNodes: string[];
|
||||
};
|
||||
|
||||
export type WidgetContent = {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user