[x] Search for duplicates among the existing issues (both open and closed).
Proposal
This can be achieved in a couple of ways already, although they both are very hacky. One is by using placeholder column names and replacing them appropriately in the HTML output created by as_raw_html with base64 encoded <img> tags (essentially the approach that is used in fmt_image).
A couple of approaches that might work for a proper implementation this:
A .fmt_column_header_image method that mimicks fmt_image and reuses FmtImage if possible.
Prework
Proposal
This can be achieved in a couple of ways already, although they both are very hacky. One is by using placeholder column names and replacing them appropriately in the HTML output created by
as_raw_html
with base64 encoded<img>
tags (essentially the approach that is used infmt_image
).A couple of approaches that might work for a proper implementation this:
.fmt_column_header_image
method that mimicksfmt_image
and reusesFmtImage
if possible..col_labels
to enable use of an image instead of a renaming label, or infer from argument typeI would be happy to try implementing something like this. Thank you 😄