A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1924/ below:

HTML superscripts not shown raised in the notebook · Issue #1924 · ipython/ipython · GitHub

This code:

from IPython.core.display import HTML
HTML('x<sup>2</sup>')

produces this:

The superscript should be raised, but it isn't.

This is a manual workaround:

from IPython.core.display import HTML
HTML('x<sup style="vertical-align : top; font-size : small; line-height: 40%;">2</sup>')

that gives this result:

There's something in our CSS messing up regular HTML styling...


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4