Skip to content

canvas indexing #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 17, 2024
Merged

canvas indexing #59

merged 8 commits into from
Jul 17, 2024

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