I am trying to figure out if there is anyway to do HTML cell magic using a python variable
myvar = "<a href='somelink'>"
%%html
myvar
This of course just outputs myvar
rather than the html. Is there any way to accomplish this?
I am trying to figure out if there is anyway to do HTML cell magic using a python variable
myvar = "<a href='somelink'>"
%%html
myvar
This of course just outputs myvar
rather than the html. Is there any way to accomplish this?