I just tagged v0.10.0 of PrettyTables.jl. It should be available really soon. This is a huge release, with a lot of new features, and, unfortunately, a lot of breaking changes (sorry!). The point of this release is to add all required features so that PrettyTables.jl can become the default back-end to print DataFrames.jl to text.
I am targeting v1.0 in which the text backend is marked as stable, i.e. no more API changes. Hence, I would like, if possible, to hear some feedback about the new features. This is our last time to make breaking changes easily Bug reports are also very welcome!
Among the new features, the ones I like the most are:
Markdown rendering inside cells
julia> using Markdown julia> a = md""" # Header This is a paragraph. ```julia function test() return 1 end ``` """; julia> b = md""" This _**is a bold text that will wrap inside a cell**_ """; julia> pretty_table([a b], columns_width = 20, autowrap = true, linebreaks = true)
Vertical cropping behavior
Finally, PrettyTables.jl can now crop the output at the middle instead of just at the bottom:
pretty_table(rand(100,100), vcrop_mode = :middle)
We also have title support now:
julia> pretty_table(rand(10,3), title = "Table title", title_alignment = :c, title_same_width_as_table = true)