I am printing tables - in PDFs - by using data.table(). In these tables, I want some texts with superscript. I've tried a couples of things, but I only find solutions which are using kable() or tibble() - but I really want to use data.table() or solutions which are using expression() - which I cannot get working in PDFs.
Here is some simple example code.
library(data.table)
some_table <- data.table(
element = c('Some text with <1> in superscript at the end',
'Some more text')
)
Thank you in advance!

