Skip to content

canvas indexing#59

Merged
blacksmithgu merged 8 commits intoblacksmithgu:masterfrom
GamerGirlandCo:feat/canvas
Jul 17, 2024
Merged

canvas indexing#59
blacksmithgu merged 8 commits intoblacksmithgu:masterfrom
GamerGirlandCo:feat/canvas

Conversation

@GamerGirlandCo
Copy link
Collaborator

as seen in blacksmithgu/obsidian-dataview#1803 :)

please let me know what i can add or improve!

throw new Error("Encountered unrecognized import result type: " + (result as any).type);
}

public storeCanvas(data: Canvas) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, there really are quite a few layers of metadata in a canvas file...

//////////////
return page.build();
}
export function markdownSourceImport(path: string, markdown: string, metadata: CachedMetadata) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function should be annotated with what type it returns (looks like a map of the major metadata types?).

@blacksmithgu blacksmithgu merged commit f5eed65 into blacksmithgu:master Jul 17, 2024
@blacksmithgu
Copy link
Owner

I've done some formatting (via yarn run format) and a small amount of code inlining, but otherwise this was great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments