Open in CoCalc
plot(sin(x),0,10).save('image.png', figsize=[4,4])

%wiki(hide=0)

This NOW WORKS!

Important: today this won't work when viewed as a public worksheet (since I haven't implemented support for raw paths yet).  If you copy it to your own project it should work, though of course you need to generate the file image.png, e.g., by running the above function.

[[File:image.png|thumb|right|upright|A Plot of Sin]]



This NOW WORKS!

Important: today this won't work when viewed as a public worksheet (since I haven't implemented support for raw paths yet). If you copy it to your own project it should work, though of course you need to generate the file image.png, e.g., by running the above function.


︠b88dfcf2-deab-4cbf-a6d7-255ed74c3bf1s︠
%wiki(hide=0)

This also works (using a direct URL to an external https site):

[[File:https://upload.wikimedia.org/wikipedia/commons/4/4e/Bananen_Frucht.jpg|thumb|right|upright|A banana contains [[naturally occurring radioactive material|naturally occurring]] [[Potassium-40|radioactive potassium.]]]]



This also works (using a direct URL to an external https site):