Superscript and subscript in a DataTable cell

Is it possible to render small html snippets in a DataTable cell? If I try something thing like T<sub>1/2</sub>, the markup passes through. (This is for non-editable content).

Hi, did you find out how to do this at all please?

I did not find a way, sorry.

1 Like

For some characters you can use unicode superscript or subscript (you can copy and paste from the Wiki page):
https://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts

Thanks edbduck! Similarly, you can insert unicode characters into a page in Microsoft Word, and then copy-paste them into the datatable cell. On the Mac, most of the characters found in the Symbol menu “Arial Unicode MS” seem to work, including greek characters, degree symbols, etc. Or you can follow the instructions here: Unicode: Adding Thousands of Characters to Your Mac, to insert a large variety of unicode symbols into a MacOS Word document, and then copy-paste into the datatable.

For the PC version of Word, it’s a bit easier. Insert Unicode characters by typing the hex value of the character and then hit Alt-x.

There are a ton of resources for finding unicode values for symbols, including the one mentioned by edbduck and: Unicode/List of useful symbols - Wikibooks, open books for an open world