-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
@show / Python - invalid syntax (<code block>) #404
Comments
Hi, I think the problem was the extra "/" that was introduced by concatenating the app line ("app://..../") and the image link ("/some/path/..."). I don't have a mac and can't test this. Can you please update the plugin (v 2.1.2) and tell me if it worked? Also: Can you try creating a plot to see if it shows up correctly? e.g., like this: import matplotlib.pyplot as plt
import numpy
x = numpy.array(list(range(10)))
y = numpy.sin( x )
plt.plot( x , y )
plt.show() This is related to #405 |
Thanks for looking 🙏 - I will test 2.1.2 as soon as I get home. |
@luckman212 Okay, I have no clue why it doesn't work.... can you go to the developer view (ctrl+i for windows) and select the code block output. There should be some html code that isn't rendered correctly. Maybe this can help me understand the problem better. It's working perfectly on my machine, so unfortunately I cannot check it myself... |
I tried a small variation as well, it still gives me
I don't see any code (invalid or otherwise) in the Dev Tools console... is there a setting I need to enable to show the generated code that the plugin is trying to execute? |
macOS 15.3.1 + Obsidian 1.8.9
I am trying a simple
@show
example, not sure if this is a regression since 2.1.0 since I am pretty sure it worked before!result:
result:
The text was updated successfully, but these errors were encountered: