I have a rather wide matrix containing UTF-8 strings. Hereβs an example of 6 columns (there are usually more than twice that)
"Scarabaeus lamarcki" "First runs from nest" "1" "1 π’" "0 π’" "420 π’"
"Coffee beetles" "First runs from nest" "2" "1 π‘" "1 π" "0 -"
"Coffee beetles" "Sun reflection" "1" "2 π" "1 π" "0 -"
I want to convert this to an HTML document (double click and view in a browser) or a PDF (both would be nice, but just one would be fine).
I tried:
- Directly parsing the matrix into html text following this post. But then I need to input that into some
index.html
file. - a few external tools to convert CSV to markdown, and then use
pandoc
to convert the markdown to whatever. Nice, but UTF8 and table size becomes a bit of an issue. - The
Millboard.jl
package, cool, but itβs not markdown syntax, and then I run into similar problems as in #2.
All of these options are workable. But am I missing something obvious? Is there a good way to convert a Matrix{String}
to a PDF/HTML?