Run with iocaml -js min <notebook>
Demonstrate basic iocaml mime display support in output cells.
In [1]:
Iocaml.display "text/html" "<b>hi world</b>"
Out[1]:
In [2]:
Iocaml.display "text/plain" "<b>hi world</b>"
Out[2]:
In [3]:
Iocaml.display ~base64:true "text/plain" "<b>hiworld</b>"
Out[3]:
In [ ]: