Ask Your Question
0

Clickable Image

asked 2020-05-31 01:23:19 -0500

Cyrille gravatar image

Is it possible to use a clickable image in a markdown cell of Sagemath or with @interact ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-05-31 06:10:46 -0500

tmonteil gravatar image

Assume that in a code cell you did:

p = plot(sin)
p.save('myplot.png')

so that the file myplot.png is a picture of the sin function.

Now, to make a cickable image from that image to https://ask.sagemath.org/, you can do in a markdown cell:

[![](myplot.png)](https://ask.sagemath.org)

Now, within an interact, the question is less clear, if you want the click to be interpreted by the interact, you can have a look at : https://github.com/sagemath/sage-comb...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-05-31 01:23:19 -0500

Seen: 33 times

Last updated: May 31