Use styler in HTML table

I am trying to add a link to a table in streamlit and it seems like the best way to do that is by converting the table to HTML. Now my problem is I cannot figure out how to display the style. When I try to render the styler, it just displays the HTML code, but when I try to output the styler, I get an error that Styler does not have an to_html method. Please help!