Jupyter-PHP icon indicating copy to clipboard operation
Jupyter-PHP copied to clipboard

Jupyter-PHP is unable to render HTML

Open NabiKAZ opened this issue 7 years ago • 1 comments

How can render and display HTML in output? I try this codes:

header("Content-Type: text/html; charset=utf-8");
echo "Hi <b>world!</b>";

But have this in output:

Hi <b>world!</b>

In other words, what is the equivalent of the following python commands in Jupyter-PHP?

from IPython.core.display import display, HTML
display(HTML('<h1>Hello, world!</h1>'))

NabiKAZ avatar Sep 29 '17 02:09 NabiKAZ

There is no current equivalent. But I'll be grateful if someone contributes this feature.

castarco avatar Oct 13 '17 08:10 castarco