generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
When used inside a canvas card, js-engine code blocks fail to render. It seems that the problem lies here
Within a .canvas file, the ctx.sourcePath property sent by the MarkdownCodeBlockProcessor callback is equal to an empty string. Thus, your getExecutionFile returns undefined as expected and the call to getFileCache fails since it expects a TFile
Metadata
Metadata
Assignees
Labels
No labels