# how to render html or latex tables in jupyter notebook?

Dear all, I moved a few of my sagenb worksheets to jupyter, but I don't seem to be able to nicely display tables. For example:

```
blah = [('Header1', 'Header2'), (1,2), (3,4), (5,6)]
html.table(blah)
```

returns the html code for the table, but does not render it. Is there a way to display a nicely typeset table in the jupyter notebook using the sage kernel? Cheers Stan

Did you try

`pretty_print()`

around the html? That may be the new way to do it.Alternately, see https://groups.google.com/forum/#!top...

And finally, you may want to add

`%%html`

or`%html`

at the top of such a cell and see if that gives what you want.on sage 7.4beta1 I get in the jupyter notebook:

(and a nicely rendered html table) If I do:

I get the desired result immediately. I'm not sure if 7.3 already does this as well, but upgrading or waiting until 7.4 is released and then upgrading should make your life easier.

Thanks a lot! I hadn't realised that I was still running Sage 6.8, as I had problems with 7.3. I can confirm now that table(blah) displays nicely in 7.3