obsidian-desmos icon indicating copy to clipboard operation
obsidian-desmos copied to clipboard

PDF export does not work unless graph is in cache

Open Nigecat opened this issue 2 years ago • 0 comments

This is mentioned in the README:

If you wish to export a note with a graph in it to a pdf then caching must be enabled and the graph(s) must be in the cache (meaning you've viewed it at least once) - as however Obsidian is doing the pdf export causes the Desmos API to break and never return a rendered graph.

As outlined above, our call to the desmos api method asyncScreenshot never returns the rendered graph (or an error), this is likely due to how Obsidian is handling the document during the pdf export.

This issue exists to track any potential solutions.

Nigecat avatar Mar 22 '22 07:03 Nigecat