# PrettyTables.jl now has initial support for HTML output

**URL:** <https://discourse.julialang.org/t/prettytables-jl-now-has-initial-support-for-html-output/30905>\
**Category:** Community\
**Created:** [November 10, 2019, 1:04am UTC](https://discourse.julialang.org/t/prettytables-jl-now-has-initial-support-for-html-output/30905 "2019-11-10T01:04:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Ronis\_BR](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ronis_br/32/50999_2.png) [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Post date:** [November 10, 2019, 1:04am UTC](https://discourse.julialang.org/t/prettytables-jl-now-has-initial-support-for-html-output/30905/1 "2019-11-10T01:04:01Z")

</div>

Hi!

I just want to announce that I pushed a set of commits to make [PrettyTables.jl](https://github.com/ronisbr/PrettyTables.jl) support HTML output. I would like to have some feedback and help in testing (I am no HTML expert…). **Notice that you will need to use `master` branch**.

Initially, I thought I could have a generic function that can print to text and HTML. However, this is **very** difficult do accomplish due to the differences between both environments. For example, in HTML, you can change font family, but you cannot do that in text mode. Thus, I decided to have similar, but different configurations parameters for each back-end. This means that apart from the basic configuration, you cannot just change the back-end, you will need to change the configuration parameters as well. Maybe in the future we can design and API to translate between both.

Here is a screenshot of a Jupyter notebook using the HTML backend. Of course, you can also save the output to a .html file.

 ![14](https://global.discourse-cdn.com/julialang/original/3X/6/2/6239fa2d1994a26e82678a72832c603a343ecbeb.png)

I tried to make this very configurable. You can virtually print the table anyway you like, because you can provide custom css to be added.

---

_[View the full topic](https://discourse.julialang.org/t/prettytables-jl-now-has-initial-support-for-html-output/30905)._
